connectClosed
fun connectClosed(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>
Emitted when the connection has completely closed.
This happens either due to an orderly close from the peer, one initiated via method@WebsocketConnection.close or a fatal error condition that caused a close.
This signal will be emitted once.
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect