SimpleProxyResolver.setDefaultProxy

void setDefaultProxy(string defaultProxy = null)

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.

Parameters

defaultProxythe default proxy to use