Gio.TlsConnection.prototype.handshake_finish

function handshake_finish(result: Gio.AsyncResult): Boolean {
    // Gjs wrapper for g_tls_connection_handshake_finish()
}
  

Finish an asynchronous TLS handshake operation. See Gio.TlsConnection.prototype.handshake for more information.

Since 2.28

result

a Gio.AsyncResult.

Returns

true on success, false on failure, in which case @error will be set.