Expand description
Transport abstraction for the realtime subsystem.
The gateway owns I/O against this interface so unit tests can swap the live WebSocket for a scripted, deterministic transport.
Structs§
- Transport
Error - WebSocket
Transport - Production transport — wraps
tokio_tungsteniteand pumps frames in a background task whose output flows through an mpsc receiver.
Traits§
- Realtime
Transport - A duplex text-frame channel — minimal surface so providers can swap WebSocket for SSE, in-process loopback, etc.