Module: HTTPX::Plugins::Proxy::HTTP

Defined in:
lib/httpx/plugins/proxy/http.rb

Defined Under Namespace

Modules: ConnectionMethods, InstanceMethods, ProxyParser Classes: ConnectRequest

Class Method Summary collapse

Class Method Details

.extra_options(options) ⇒ Object



8
9
10
# File 'lib/httpx/plugins/proxy/http.rb', line 8

def extra_options(options)
  options.merge(supported_proxy_protocols: options.supported_proxy_protocols + %w[http])
end