Usage
This section explains how to use TIC2WebSocket from the client side.
Recommended approach
- Open a WebSocket connection to the TIC2WebSocket server.
- Send a
GetAvailableTICsrequest to discover available streams. - Subscribe to the desired stream(s) using
SubscribeTIC. - Handle
OnTICDataandOnErrorevents. - Unsubscribe using
UnsubscribeTICbefore closing the client.
API reference
See the dedicated page for the full list of requests and events:
WebSocket tester
To quickly test requests/events using the built-in client UI: