SimpleProxyResolver.setUriProxy

Adds a URI-scheme-specific proxy to resolver; 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://", GSimpleProxyResolver will treat it as referring to all three of the socks5, socks4a, and socks4 proxy types. Since 2.36

class SimpleProxyResolver
void
setUriProxy
(
string uriScheme
,
string proxy
)

Parameters

uriScheme string

the URI scheme to add a proxy for

proxy string

the proxy to use for uri_scheme

Meta