Skip to main content

Module proxy

Module proxy 

Source
Expand description

HTTP CONNECT proxy configuration.

Corporate networks often force outbound traffic through an HTTP CONNECT proxy (Squid, Blue Coat, Zscaler, etc.). This module provides the configuration type and resolution helpers used by HTTP-based backends.

SOCKS5 is supported for HTTP-based backends that use reqwest. Enable the socks5-proxy feature on the backend crate to include reqwest’s socks feature.

Structs§

ProxyConfig
Parsed HTTP CONNECT proxy configuration.

Functions§

is_no_proxy
Check whether the target host is covered by the NO_PROXY environment variable.
resolve_proxy_from_env
Resolve proxy configuration from the standard environment variable stack.