Classes and Modules
Constants
CONNECT | = | 1 | ||
DOMAIN | = | 3 | ||
Error | = | Socks5Error | ||
IPV4 | = | 1 | ||
IPV6 | = | 4 | ||
NOAUTH | = | 0 | ||
NONE | = | 0xff | ||
PASSWD | = | 2 | ||
SUCCESS | = | 0 | ||
VERSION | = | 5 |
Public Class methods
extra_options(options)
[show source]
# File lib/httpx/plugins/proxy/socks5.rb 26 def extra_options(options) 27 options.merge(supported_proxy_protocols: options.supported_proxy_protocols + %w[socks5]) 28 end
load_dependencies(*)
[show source]
# File lib/httpx/plugins/proxy/socks5.rb 22 def load_dependencies(*) 23 require_relative "../auth/socks5" 24 end