Callbacks for the live API.
Optional
Called when the websocket connection is closed.
Called when an error occurs.
Called when a message is received from the server.
Called when the websocket connection is established.
Callbacks for the live API.