| Class | Mongo::Socket::SSL |
| In: |
lib/mongo/socket/ssl.rb
|
| Parent: | Socket |
| context | [R] | @return [ SSLContext ] context The ssl context. |
| host | [R] | @return [ String ] host The host to connect to. |
| host_name | [R] | @return [ String ] host_name The original host name. |
| port | [R] | @return [ Integer ] port The port to connect to. |
| timeout | [R] | @return [ Float ] timeout The socket timeout. |
@example Create the SSL socket.
SSL.new('::1', 27017, 30)
@param [ String ] host The hostname or IP address. @param [ Integer ] port The port number. @param [ Float ] timeout The socket timeout value. @param [ Integer ] family The socket family. @param [ Hash ] options The options.
@option options [ Float ] :connect_timeout Connect timeout.
@since 2.0.0