Gio.ProxyResolver.prototype.lookup_async

function lookup_async(uri: String, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for g_proxy_resolver_lookup_async()
}
  

Asynchronous lookup of proxy. See Gio.ProxyResolver.prototype.lookup for more details.

Since 2.26

uri

a URI representing the destination to connect to

cancellable

a Gio.Cancellable, or null

callback

callback to call after resolution completes