add_proxy_for_scheme
Description:
Adds a URI-scheme-specific proxy.
URIs whose scheme matches uri_scheme
will be proxied via proxy_uri
. As with the default proxy URI, if proxy_uri
starts with "socks://", it will be treated as referring to all three of the socks5, socks4a, and socks4 proxy types.
Parameters:
this | |
scheme |
the URI scheme to add a proxy for |
proxy_uri |
the proxy URI to use for |