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

Defined in:
lib/socksify/http.rb

Overview

instance methods - no long supports Ruby < 2

Instance Method Summary collapse

Instance Method Details

#addressObject



58
59
60
61
62
63
64
# File 'lib/socksify/http.rb', line 58

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