Streaming API
Live updates are delivered over a WebSocket served by Centrifugo at:
wss://stream.smirkterminal.xyz/connection/websocket
Use a Centrifugo client library rather than a raw socket — e.g.
centrifuge-js (browser/Node) or
centrifuge-python.
Flow
- Connect with a connection JWT (see Authentication).
- Subscribe to one or more channels (see Channels). Private channels need a per-channel subscription JWT.
- Receive publications — each channel emits messages of a documented shape.
- Reconnect automatically on disconnect; the client library handles backoff and re-subscription.
Error codes, recovery semantics, and presence/history options will be documented here. This page is a placeholder for now.