pub trait ProxyResolver {
    fn for_url(&self, url: &Url) -> Option<Url>;
}
Expand description

Resolve proxies.

Required Methods

Resolve a proxy for the given url.

Return the URL of a HTTP proxy to use for url or None for a direct connection to url.

Implementors