Proxy package:http-client
Define a HTTP proxy, consisting of a hostname and port number.
Optional HTTP proxy.
Since 0.1.0
A non-200 status code was returned when trying to connect to the proxy
server on the given host and port.
How the HTTP proxy server settings should be discovered.
Since 0.4.7
How the HTTP proxy server settings should be discovered.
Since 0.4.7
Define how to make secure connections using a proxy server.
Use the HTTP CONNECT verb to forward a secure connection through the
proxy.
Send the request directly to the proxy with an https URL. This mode
can be used to offload TLS handling to a trusted local proxy.
Get the proxy settings from the default environment variable
(
http_proxy for insecure,
https_proxy for secure).
If no variable is set, then fall back to the given value.
Nothing is equivalent to
noProxy,
Just is
equivalent to
useProxy.
Since 0.4.7
Same as
proxyEnvironment, but instead of default environment
variable names, allows you to set your own name.
Since 0.4.7
Get the proxy settings from the Request itself.
Since 0.4.7
The host name of the HTTP proxy in URI format. IPv6 addresses in
square brackets.
The port number of the HTTP proxy.
How to proxy an HTTPS request.
Default: Use HTTP CONNECT.
Values in the proxy environment variable were invalid. Provides the
environment variable name and its value.
Proxy settings are not valid (Windows specific currently) @since 0.5.7
Add a Proxy-Authorization header (with the specified username and
password) to the given
Request. Ignore error handling:
applyBasicProxyAuth "user" "pass" <$> parseRequest "http://example.org"
Since 0.3.4
The default proxy settings for a manager. In particular: if the
http_proxy (or https_proxy) environment variable is
set, use it. Otherwise, use the values in the Request.
Since 0.4.7
Set the proxy override value, only for HTTP (insecure) connections.
Since 0.4.7
Set the proxy override value, for both HTTP (insecure) and HTTPS
(insecure) connections.
Since 0.4.7
Set the proxy override value, only for HTTPS (secure) connections.
Since 0.4.7
Never connect using a proxy, regardless of the proxy value in the
Request.
Since 0.4.7
Use the given proxy settings, regardless of the proxy value in the
Request.
Since 0.4.7