Module: Console1984::Shield::SSLSocketRemoteAddress
- Defined in:
- lib/console1984/shield.rb
Instance Method Summary collapse
-
#remote_address ⇒ Object
Serve remote address as TCPSocket so that our extension works with both.
Instance Method Details
#remote_address ⇒ Object
Serve remote address as TCPSocket so that our extension works with both.
86 87 88 |
# File 'lib/console1984/shield.rb', line 86 def remote_address Addrinfo.getaddrinfo(hostname, 443).first end |