connectDisconnected

fun connectDisconnected(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>

Emitted when the @msg's socket is disconnected.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect