connectNetworkEvent

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

Emitted to indicate that some network-related event related to @msg has occurred.

This essentially proxies the signal@Gio.SocketClient::event signal, but only for events that occur while @msg "owns" the connection; if

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: event the network event; connection the current state of the network connection