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
20 def call
21   super
22 
23   return unless @options.proxy && @options.proxy.uri.scheme == "socks5"
24 
25   case @state
26   when :connecting,
27        :negotiating,
28        :authenticating
29     consume
30   end
31 end