Skip to main content

resolve_proxy_from_env

Function resolve_proxy_from_env 

Source
pub fn resolve_proxy_from_env(_target_scheme: &str) -> Option<ProxyConfig>
Expand description

Resolve proxy configuration from the standard environment variable stack.

Checks ALL_PROXY, then HTTP_PROXY / HTTPS_PROXY based on target_scheme. Skips NO_PROXY hosts at this layer — callers should call is_no_proxy separately when they know the target hostname.