class OpenSSL::SSL::SSLSocket

SSL socket extensions for stream compatibility.

def buffered=(value)

@parameter value [Boolean] True to enable buffering, false to disable.
Set the buffered state of the SSL socket.
def buffered=(value)
	to_io.buffered = value
end

def buffered?

@returns [Boolean] True if the SSL socket is buffered.
Check if the SSL socket is buffered.
def buffered?
	return to_io.buffered?
end

def close_read

Close the read end of the SSL socket.
def close_read
	# Ignored.
end

def close_write

Close the write end of the SSL socket.
def close_write
	self.stop
end

def readable?

@returns [Boolean] True if the SSL socket is readable.
Check if the SSL socket is readable.
def readable?
	to_io.readable?
end

def timeout

@returns [Numeric | Nil] The timeout value.
Get the timeout for SSL socket operations.
def timeout
	to_io.timeout
end

def timeout=(value)

@parameter value [Numeric | Nil] The timeout value.
Set the timeout for SSL socket operations.
def timeout=(value)
	to_io.timeout = value
end

def wait_readable(...)

Wait for the SSL socket to become readable.
def wait_readable(...)
	to_io.wait_readable(...)
end

def wait_writable(...)

Wait for the SSL socket to become writable.
def wait_writable(...)
	to_io.wait_writable(...)
end