SimpleProxyResolver.setUriProxy

void setUriProxy(string uriScheme, string proxy)

Adds a URI-scheme-specific proxy to resolver; URIs whose scheme matches uri_scheme (and which don't match #GSimpleProxyResolver:ignore-hosts) will be proxied via proxy.

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

Parameters

uriSchemethe URI scheme to add a proxy for
proxythe proxy to use for uri_scheme