shutdown_async


Description:

public abstract async bool shutdown_async (bool shutdown_read, bool shutdown_write, int io_priority = DEFAULT, Cancellable? cancellable = null) throws Error

Asynchronously shut down part or all of the DTLS connection.

See shutdown for more information.

Parameters:

this

a DtlsConnection

shutdown_read

true to stop reception of incoming datagrams

shutdown_write

true to stop sending outgoing datagrams

io_priority

the I/O priority of the request

cancellable

a Cancellable, or null

callback

callback to call when the shutdown operation is complete

user_data

the data to pass to the callback function