SSLSocket.new(io) => aSSLSocket
SSLSocket.new(io, ctx) => aSSLSocket
SSLSocket.new(io, ctx) => aSSLSocket
Class Public methods
Creates a new SSL socket from io
which must be a real ruby object (not an IO-like object that responds to
read/write.
If ctx
is provided the SSL Sockets
initial params will be taken from the context.
The OpenSSL::Buffering module provides additional IO methods.
This method will freeze the SSLContext if one is provided; however, session management is still allowed in the frozen SSLContext.
Please login to continue.