Public Class methods
new(*)
[show source]
# File lib/httpx/plugins/proxy/http.rb 69 def initialize(*) 70 @tunnel_parser = nil 71 super 72 end
Public Instance methods
force_close(*)
[show source]
# File lib/httpx/plugins/proxy/http.rb 74 def force_close(*) 75 if @state == :connecting 76 # proxy connect related requests should not be reenqueed 77 @parser.reset 78 @inflight -= @parser.pending.size 79 @parser.pending.clear 80 end 81 82 super 83 end