module HTTPX::Plugins::Proxy::HTTP::OptionsMethods

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

adds support for the following options:

:proxy_headers

hash of HTTP headers to send while connecting to the proxy.

:enable_proxy_tunnel

when true, it forces the establishment of the CONNECT proxy tunnel, in cases where it wouldn’t otherwise normally establish it (i.e. if the request is an http:// request).