module Console1984::Shield::SSLSocketRemoteAddress

Public Instance Methods

remote_address() click to toggle source

Serve remote address as TCPSocket so that our extension works with both.

# File lib/console1984/shield.rb, line 81
def remote_address
  Addrinfo.getaddrinfo(hostname, 443).first
end