Gio.SimpleProxyResolver

const Gio = imports.gi.Gio;

let simpleProxyResolver = new Gio.SimpleProxyResolver({
});
  

Gio.SimpleProxyResolver is a simple Gio.ProxyResolver implementation that handles a single default proxy, multiple URI-scheme-specific proxies, and a list of hosts that proxies should not be used for.

Gio.SimpleProxyResolver is never the default proxy resolver, but it can be used as the base class for another proxy resolver implementation, or it can be created and used manually, such as with Gio.SocketClient.prototype.set_proxy_resolver.

Hierarchy

  • GObject.Object
    • Gio.SimpleProxyResolver