onConnected

open override fun onConnected(event: ConnectedEvent)

Invoked when we receive the first ConnectedEventType in this connection.

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

Parameters

event

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