SimpleProxyResolver.setDefaultProxy

Sets the default proxy on resolver, to be used for any URIs that don't match #GSimpleProxyResolver:ignore-hosts or a proxy set via gio.simple_proxy_resolver.SimpleProxyResolver.setUriProxy.

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

class SimpleProxyResolver
void
setDefaultProxy
(
string defaultProxy = null
)

Parameters

defaultProxy string

the default proxy to use