Gio.SocketClient.prototype.connect_to_uri_finish

function connect_to_uri_finish(result: Gio.AsyncResult): Gio.SocketConnection {
    // Gjs wrapper for g_socket_client_connect_to_uri_finish()
}
  

Finishes an async connect operation. See Gio.SocketClient.prototype.connect_to_uri_async

Since 2.26

result

a Gio.AsyncResult.

Returns

a Gio.SocketConnection on success, null on error.