(proxy_scheme: U, ms_timeout: u64)
| 310 | |
| 311 | impl Proxy { |
| 312 | pub fn new<U: IntoProxyScheme>(proxy_scheme: U, ms_timeout: u64) -> Result<Self, ProxyError> { |
| 313 | Ok(Self { |
| 314 | intercept: proxy_scheme.into_proxy_scheme()?, |
| 315 | ms_timeout, |
| 316 | }) |
| 317 | } |
| 318 | |
| 319 | pub fn is_http_or_https(&self) -> bool { |
| 320 | return match self.intercept { |
nothing calls this directly
no test coverage detected