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.
81 82 83 |
# File 'lib/console1984/shield.rb', line 81 def remote_address Addrinfo.getaddrinfo(hostname, 443).first end |