Module: OpenSSL::SSL::SocketForwarder

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

Instance Method Summary collapse

Instance Method Details

#addrObject


59
60
61
# File 'lib/openssl/ssl.rb', line 59

def addr
  to_io.addr
end

#closed?Boolean

Returns:

  • (Boolean)

79
80
81
# File 'lib/openssl/ssl.rb', line 79

def closed?
  to_io.closed?
end

#do_not_reverse_lookup=(flag) ⇒ Object


83
84
85
# File 'lib/openssl/ssl.rb', line 83

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

#fcntl(*args) ⇒ Object


75
76
77
# File 'lib/openssl/ssl.rb', line 75

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

#getsockopt(level, optname) ⇒ Object


71
72
73
# File 'lib/openssl/ssl.rb', line 71

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

#peeraddrObject


63
64
65
# File 'lib/openssl/ssl.rb', line 63

def peeraddr
  to_io.peeraddr
end

#setsockopt(level, optname, optval) ⇒ Object


67
68
69
# File 'lib/openssl/ssl.rb', line 67

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