Class Moped::Connection::Socket::SSL
In: lib/moped/connection/socket/ssl.rb
Parent: OpenSSL::SSL::SSLSocket

This is a wrapper around a tcp socket.

Methods

Included Modules

Connectable

Attributes

socket  [R] 

Public Class methods

Initialize the new TCPSocket with SSL.

@example Initialize the socket.

  SSL.new("127.0.0.1", 27017)

@param [ String ] host The host. @param [ Integer ] port The port.

@since 1.2.0

Public Instance methods

Set the encoding of the underlying socket.

@param [ String ] string The encoding.

@since 1.3.0

Set a socket option on the underlying socket.

@param [ Array<Object> ] args The option arguments.

@since 1.3.0

[Validate]