connectPong

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

Emitted when we receive a Pong frame (solicited or unsolicited) from the peer.

As a convenience, the @message data will always be null-terminated, but the NUL byte will not be included in the length count.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: message the application data (if any)