IO::StreamSourceOpenSSLSSLSSLSocket

class SSLSocket

SSL socket extensions for stream compatibility.

Definitions

def close_read

Close the read end of the SSL socket.

Implementation

def close_read
	# Ignored.
end

def close_write

Close the write end of the SSL socket.

Implementation

def close_write
	self.stop
end

def wait_readable(...)

Wait for the SSL socket to become readable.

Implementation

def wait_readable(...)
	to_io.wait_readable(...)
end

def wait_writable(...)

Wait for the SSL socket to become writable.

Implementation

def wait_writable(...)
	to_io.wait_writable(...)
end

def timeout

Get the timeout for SSL socket operations.

Signature

returns Numeric | Nil

The timeout value.

Implementation

def timeout
	to_io.timeout
end

def timeout=(value)

Set the timeout for SSL socket operations.

Signature

parameter value Numeric | Nil

The timeout value.

Implementation

def timeout=(value)
	to_io.timeout = value
end

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 value Boolean

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