Gio.TlsConnection.prototype.handshake_async
function handshake_async(io_priority: Number(gint), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for g_tls_connection_handshake_async() }
Asynchronously performs a TLS handshake on conn. See Gio.TlsConnection.prototype.handshake for more information.
Since 2.28
- io_priority
the [I/O priority][io-priority] of the request
- cancellable
a Gio.Cancellable, or null
- callback
callback to call when the handshake is complete