set_uri_proxy


Description:

public void set_uri_proxy (string uri_scheme, string proxy)

Adds a URI-scheme-specific proxy to this; URIs whose scheme matches uri_scheme (and which don't match ignore_hosts) will be proxied via proxy.

As with default_proxy, if proxy starts with "socks://", SimpleProxyResolver will treat it as referring to all three of the socks5, socks4a, and socks4 proxy types.

Parameters:

this

a SimpleProxyResolver

uri_scheme

the URI scheme to add a proxy for

proxy

the proxy to use for uri_scheme