Module: OpenSSL::SSL::SocketForwarder

Included in:
SSLServer, SSLSocket
Defined in:
lib/openssl/ssl.rb

Instance Method Summary collapse

Instance Method Details

#addrObject



234
235
236
# File 'lib/openssl/ssl.rb', line 234

def addr
  to_io.addr
end

#closed?Boolean

Returns:

  • (Boolean)


254
255
256
# File 'lib/openssl/ssl.rb', line 254

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object



258
259
260
# File 'lib/openssl/ssl.rb', line 258

def do_not_reverse_lookup=(flag)
  to_io.do_not_reverse_lookup = flag
end

#fcntl(*args) ⇒ Object



250
251
252
# File 'lib/openssl/ssl.rb', line 250

def fcntl(*args)
  to_io.fcntl(*args)
end

#getsockopt(level, optname) ⇒ Object



246
247
248
# File 'lib/openssl/ssl.rb', line 246

def getsockopt(level, optname)
  to_io.getsockopt(level, optname)
end

#peeraddrObject



238
239
240
# File 'lib/openssl/ssl.rb', line 238

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object



242
243
244
# File 'lib/openssl/ssl.rb', line 242

def setsockopt(level, optname, optval)
  to_io.setsockopt(level, optname, optval)
end