Expand description
Centrifugo websocket realtime client.
Structs§
- Client
- Realtime websocket client.
- Snapshot
Then Stream - Coordinates REST snapshot hydration with a live protobuf channel.
- Snapshot
Then Stream Config - Configuration for
SnapshotThenStream. - Typed
Subscription - Handle for a typed protobuf realtime subscription.
Constants§
- MAX_
REALTIME_ MESSAGE_ BYTES - Maximum accepted binary Centrifugo WebSocket message and frame size.
Functions§
- is_
private_ channel - try_
enqueue - Enqueue a publication without blocking. On a full queue, mark the
subscription closed and return
Error::QueueOverflow— never silently drop.
Type Aliases§
- Snapshot
Error Fn - Callback invoked when the coordinator observes a transport, decode, snapshot, or terminal buffer error.