SimpleProxyResolver.setDefaultProxy

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

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

class SimpleProxyResolver
void
setDefaultProxy
()

Parameters

defaultProxy string

the default proxy to use

Meta

Since

2.36