Virtual Method

GioDtlsConnectionhandshake_async

Declaration

void
handshake_async (
  GDtlsConnection* conn,
  int io_priority,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Asynchronously performs a TLS handshake on conn. See g_dtls_connection_handshake() for more information.

Available since:2.48

Parameters

io_priority int
 

The [I/O priority][io-priority] of the request.

cancellable GCancellable
 

A GCancellable, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

Callback to call when the handshake is complete.

user_data gpointer
 

The data to pass to the callback function.