module HTTPX::Plugins::Proxy::Socks5::ConnectionMethods

  1. lib/httpx/plugins/proxy/socks5.rb

Methods

Public Instance

  1. call

Public Instance methods

call ()
[show source]
   # File lib/httpx/plugins/proxy/socks5.rb
21 def call
22   super
23 
24   return unless @options.proxy && @options.proxy.uri.scheme == "socks5"
25 
26   case @state
27   when :connecting,
28        :negotiating,
29        :authenticating
30     consume
31   end
32 end