Skip to main content

try_resolve_proxy

Function try_resolve_proxy 

Source
pub fn try_resolve_proxy(upstream: &str) -> ProxyResolution
Expand description

Check whether the daemon is alive and has a proxy for the given upstream URL. Returns the proxy URL (http://127.0.0.1:) if available, otherwise Direct.