Skip to main content

is_no_proxy

Function is_no_proxy 

Source
pub fn is_no_proxy(target_host: &str) -> bool
Expand description

Check whether the target host is covered by the NO_PROXY environment variable.

Supports * (all hosts), .domain.com (suffix match), domain.com (exact or suffix match), and comma-separated lists. Port numbers in patterns are ignored — ferrule matches hostnames only.