NetworkProxySettings.addProxyForScheme
void addProxyForScheme(string scheme, string proxyUri)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
scheme | the URI scheme to add a proxy for |
proxyUri | the proxy URI to use for uri_scheme |