Configuring the Connection
Websocket sources can be created via the Web UI or directly in SQL.
A WebSocket source has several required and optional fields:
| Field | Description | Required | Example |
|---|---|---|---|
| endpoint | The endpoint for the WebSocket server | Yes | wss://api.example.com/v1/events |
| subscription_message | A message that will be sent to the server after connection | No | {"type": "subscribe", "channel": "events"} |