Public Instance methods
call()
[show source]
# File lib/httpx/plugins/proxy/socks5.rb 32 def call 33 super 34 35 return unless @options.proxy && @options.proxy.uri.scheme == "socks5" 36 37 case @state 38 when :connecting, 39 :negotiating, 40 :authenticating 41 consume 42 end 43 end
interests()
[show source]
# File lib/httpx/plugins/proxy/socks5.rb 45 def interests 46 if @state == :connecting || @state == :authenticating || @state == :negotiating 47 return @write_buffer.empty? ? :r : :w 48 end 49 50 super 51 end