Module: Console1984::Shield::SSLSocketRemoteAddress

Defined in:
lib/console1984/shield.rb

Instance Method Summary collapse

Instance Method Details

#remote_addressObject

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