Module: HTTPX::Plugins::Proxy::Socks5::ConnectionMethods
- Defined in:
- lib/httpx/plugins/proxy/socks5.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/httpx/plugins/proxy/socks5.rb', line 20 def call super return unless @options.proxy && @options.proxy.uri.scheme == "socks5" case @state when :connecting, :negotiating, :authenticating consume end end |