onEvent

open fun onEvent(event: ChatEvent)

Invoked when we receive any successful event.

Parameters

event

parsed ChatEvent received in this web socket connection.