module HTTPX::Plugins::Proxy::HTTP::InstanceMethods

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

Public Instance methods

with_proxy_basic_auth(opts)

returns a new session with the proxy authentication scheme set to "basic", for HTTP Basic Auth.

[show source]
   # File lib/httpx/plugins/proxy/http.rb
35 def with_proxy_basic_auth(opts)
36   with(proxy: opts.merge(scheme: "basic"))
37 end
with_proxy_digest_auth(opts)

returns a new session with the proxy authentication scheme set to "digest", for HTTP Digest Auth.

[show source]
   # File lib/httpx/plugins/proxy/http.rb
40 def with_proxy_digest_auth(opts)
41   with(proxy: opts.merge(scheme: "digest"))
42 end
with_proxy_ntlm_auth(opts)

returns a new session with the proxy authentication scheme set to "ntlm", for NTLM Auth.

[show source]
   # File lib/httpx/plugins/proxy/http.rb
45 def with_proxy_ntlm_auth(opts)
46   with(proxy: opts.merge(scheme: "ntlm"))
47 end