class SSLSocket
SSL socket extensions for stream compatibility.
Definitions
def buffered?
Check if the SSL socket is buffered.
Signature
-
returns
Boolean True if the SSL socket is buffered.
Implementation
def buffered?
return to_io.buffered?
end
def buffered=(value)
Set the buffered state of the SSL socket.
Signature
-
parameter
valueBoolean True to enable buffering, false to disable.
Implementation
def buffered=(value)
to_io.buffered = value
end
def readable?
Check if the SSL socket is readable.
Signature
-
returns
Boolean True if the SSL socket is readable.
Implementation
def readable?
to_io.readable?
end