Gio.Proxy.prototype.connect_async

function connect_async(connection: Gio.IOStream, proxy_address: Gio.ProxyAddress, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for g_proxy_connect_async()
}
  

Asynchronous version of Gio.Proxy.prototype.connect.

Since 2.26

connection

a Gio.IOStream

proxy_address

a Gio.ProxyAddress

cancellable

a Gio.Cancellable

callback

a Gio.AsyncReadyCallback