Available on crate feature
proxy only.Expand description
Shared HTTP proxy options and endpoint validation (proxy feature).
system-proxy adds OriginProxy for construction-time environment/native
discovery. reqwest adds its configure_reqwest adapter. A resolved policy
belongs to one HTTP(S) origin; it must not configure a multi-origin client.
hyper adds proxy_for_hyper, including the effective bypass decision.
Native bypass grammars remain separate from NO_PROXY syntax.
Structs§
- Origin
Proxy system-proxy - A proxy policy resolved for exactly one HTTP(S) origin (
system-proxy). - Proxy
Options - Client-local proxy selection and bypass policy.
Enums§
- Error
- Proxy configuration failures, separate from HTTP integrity failures. Diagnostics name settings or fixed reasons, never endpoint contents.
- Proxy
Mode - How an HTTP client selects its proxy endpoint.
Functions§
- parse_
endpoint - Validates an explicit HTTP(S)/SOCKS proxy URL or bare
host[:port].