Skip to main content

Module ws

Module ws 

Source

Structs§

CrdtSubscriptions
WsHub
High-performance WebSocket broadcast hub with sharded client storage.

Functions§

start_ws_server
Start the WebSocket server on the given port.

Type Aliases§

SnapshotFetcher
Snapshot fetcher: given the caller’s auth context + (entity, row_id), return the encoded binary CRDT frame for the row’s current state, or None if either the caller can’t read the row (read policy denies) or the row has no snapshot (uninitialized CRDT or non-CRDT entity).