Module: Net::HTTP::SOCKSProxyDelta::InstanceMethods

Defined in:
lib/socksify/http.rb

Instance Method Summary collapse

Instance Method Details

#addressObject


50
51
52
# File 'lib/socksify/http.rb', line 50

def address
  TCPSocket::SOCKSConnectionPeerAddress.new(self.class.socks_server, self.class.socks_port, @address)
end

#conn_addressObject


54
55
56
# File 'lib/socksify/http.rb', line 54

def conn_address
  TCPSocket::SOCKSConnectionPeerAddress.new(self.class.socks_server, self.class.socks_port, address())
end