module OpenSSL::SSL::SocketForwarder
Public Instance Methods
Source
# File lib/openssl/ssl.rb, line 219 def close_on_exec=(value) to_io.close_on_exec = value end
Source
# File lib/openssl/ssl.rb, line 223 def close_on_exec? to_io.close_on_exec? end
# File lib/openssl/ssl.rb, line 215 def do_not_reverse_lookup=(flag) to_io.do_not_reverse_lookup = flag end
Source
# File lib/openssl/ssl.rb, line 179 def fileno to_io.fileno end
The file descriptor for the socket.
Source
# File lib/openssl/ssl.rb, line 203 def getsockopt(level, optname) to_io.getsockopt(level, optname) end
Source
# File lib/openssl/ssl.rb, line 191 def local_address to_io.local_address end
Source
# File lib/openssl/ssl.rb, line 195 def remote_address to_io.remote_address end
# File lib/openssl/ssl.rb, line 199 def setsockopt(level, optname, optval) to_io.setsockopt(level, optname, optval) end
Source
# File lib/openssl/ssl.rb, line 253 def timeout=(value) to_io.timeout=(value) end
Source
# File lib/openssl/ssl.rb, line 231 def wait(*args) to_io.wait(*args) end
Calls IO#wait on the underlying socket.
Note that this method may block even when there is data immediately available to read, unlike IO#wait_readable.
Source
# File lib/openssl/ssl.rb, line 239 def wait_readable(*args) to_io.wait_readable(*args) end
Calls IO#wait_readable on the underlying socket.
Note that this method may block even when there is data immediately available to read, unlike IO#wait_readable.
Source
# File lib/openssl/ssl.rb, line 244 def wait_writable(*args) to_io.wait_writable(*args) end
Calls IO#wait_writable on the underlying socket.