DtlsConnection.shutdownAsync

Asynchronously shut down part or all of the DTLS connection. See gio.dtls_connection.DtlsConnection.shutdown for more information.

interface DtlsConnection
void
shutdownAsync

Parameters

shutdownRead bool

true to stop reception of incoming datagrams

shutdownWrite bool

true to stop sending outgoing datagrams

ioPriority int

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

cancellable gio.cancellable.Cancellable

a #GCancellable, or null

callback gio.types.AsyncReadyCallback

callback to call when the shutdown operation is complete