Home
last modified time | relevance | path

Searched refs:Intercept (Results 1 - 1 of 1) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dproxy.rs52 pub(crate) intercept: Intercept,
57 pub(crate) fn new(intercept: Intercept) -> Self {
65 Ok(Proxy::new(Intercept::Http(ProxyInfo::new(uri)?)))
69 Ok(Proxy::new(Intercept::Https(ProxyInfo::new(uri)?)))
73 Ok(Proxy::new(Intercept::All(ProxyInfo::new(uri)?)))
84 Intercept::All(info) => info.basic_auth = Some(auth),
85 Intercept::Http(info) => info.basic_auth = Some(auth),
86 Intercept::Https(info) => info.basic_auth = Some(auth),
122 Intercept::All(_) => !no_proxy,
123 Intercept
136 impl Intercept { global() impls
[all...]

Completed in 2 milliseconds