Classes and Modules
Constants
CONNECT | = | 1 | ||
Error | = | Socks4Error | ||
GRANTED | = | 0x5A | ||
PROTOCOLS | = | %w[socks4 socks4a].freeze | ||
VERSION | = | 4 |
Public Class methods
extra_options(options)
[show source]
# File lib/httpx/plugins/proxy/socks4.rb 20 def extra_options(options) 21 options.merge(supported_proxy_protocols: options.supported_proxy_protocols + PROTOCOLS) 22 end