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.



81
82
83
# File 'lib/console1984/shield.rb', line 81

def remote_address
  Addrinfo.getaddrinfo(hostname, 443).first
end