The lifecycle of a Websocket connection is as below:
- Open a Websocket connection to
ws.aevo.xyz(orws-testnet.aevo.xyzfor Testnet). - Authenticate for private operations.
- Subscribe to a channel.
- The connection will start streaming data from the subscription.
- Connection will time out after 15 minutes of inactivity. To keep the connection alive, perform a
pingoperation. Sending any other operation will also refresh the connection.