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§
- Proxy
Config - Parsed HTTP CONNECT proxy configuration.
Functions§
- is_
no_ proxy - Check whether the target host is covered by the
NO_PROXYenvironment variable. - resolve_
proxy_ from_ env - Resolve proxy configuration from the standard environment variable stack.