class HTTPX::Plugins::Proxy::HTTP::ConnectProxyParser

  1. lib/httpx/plugins/proxy/http.rb
Superclass: ProxyParser

Methods

Public Instance

  1. empty?
  2. headline_uri
  3. pending

Attributes

pending [R]

Public Instance methods

empty? ()
[show source]
    # File lib/httpx/plugins/proxy/http.rb
 99 def empty?
100   @requests.reject { |r| r.verb == :connect }.empty? || @requests.all? { |request| !request.response.nil? }
101 end
headline_uri (request)
[show source]
   # File lib/httpx/plugins/proxy/http.rb
91 def headline_uri(request)
92   return super unless request.verb == :connect
93 
94   tunnel = request.path
95   log { "establishing HTTP proxy tunnel to #{tunnel}" }
96   tunnel
97 end