onConnected

open fun onConnected(event: ConnectedEvent)

Invoked when we receive the first ConnectedEvent in this connection.

Note: This is not invoked when the ws connection is opened but when the ConnectedEvent is received.

Parameters

event

ConnectedEvent sent by server as first event once the connection is established.