module HTTPX::Plugins::Proxy::HTTP::ConnectionMethods

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

Methods

Public Instance

  1. connecting?
  2. force_close

Public Instance methods

connecting?()
[show source]
   # File lib/httpx/plugins/proxy/http.rb
46 def connecting?
47   super || @state == :connecting || @state == :connected
48 end
force_close(*)
[show source]
   # File lib/httpx/plugins/proxy/http.rb
50 def force_close(*)
51   if @state == :connecting
52     # proxy connect related requests should not be reenqueed
53     @parser.reset!
54     @inflight -= @parser.pending.size
55     @parser.pending.clear
56   end
57 
58   super
59 end