TlsConnection.handshakeAsync

void handshakeAsync(int ioPriority, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)

Asynchronously performs a TLS handshake on conn. See [gio.tls_connection.TlsConnection.handshake] for more information.

Parameters

ioPrioritythe [I/O priority][io-priority] of the request
cancellablea #GCancellable, or null
callbackcallback to call when the handshake is complete