A basic wrapper over Ruby's SSLSocket that initiates a TCP connection over SSL and then provides an basic interface mirroring Ruby's TCPSocket, vis., TCPSocket#send and TCPSocket#read.
# File lib/mongo/util/ssl_socket.rb, line 33 def close @ssl.close end
# File lib/mongo/util/ssl_socket.rb, line 29 def read(length, buffer) @ssl.sysread(length, buffer) end
Generated with the Darkfish Rdoc Generator 2.