Method: HTTPX::Plugins::Authentication::Socks5#authenticate

Defined in:
lib/httpx/plugins/auth/socks5.rb

#authenticateObject



16
17
18
# File 'lib/httpx/plugins/auth/socks5.rb', line 16

def authenticate(*)
  [0x01, @user.bytesize, @user, @password.bytesize, @password].pack("CCA*CA*")
end