Skip to main content

Module ws_bus

Module ws_bus 

Source
Expand description

WebSocket Bus Handler - Direct user messaging

The bus protocol (/ws/bus) provides direct user-to-user messaging.

Message Format:

{
  "id": "msg-123",
  "cmd": "ACTION|presence|typing|...",
  "data": { ... }
}

Structs§

BusMessage
A message in the bus protocol

Functions§

handle_bus_connection
Handle a bus connection