Struct http_util::proxy::ProxyConfig [−][src]
pub struct ProxyConfig {
http_proxy: Option<Uri>,
https_proxy: Option<Uri>,
all_proxy: Option<Uri>,
no_proxy: NoProxy,
}Expand description
The analyzed proxy configuration.
Fields
http_proxy: Option<Uri>https_proxy: Option<Uri>all_proxy: Option<Uri>no_proxy: NoProxyImplementations
Returns the proxy to use for HTTP requests, if any.
Returns the proxy to use for HTTPS requests, if any.
Returns the proxy to use for HTTP or HTTPS requests, if any.
The proxies returned by ProxyConfig::http_proxy and
ProxyConfig::https_proxy take precedence if present.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProxyConfig
impl Send for ProxyConfig
impl Sync for ProxyConfig
impl Unpin for ProxyConfig
impl UnwindSafe for ProxyConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more