Skip to main content

Module transport

Module transport 

Source
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§

TransportError
WebSocketTransport
Production transport — wraps tokio_tungstenite and pumps frames in a background task whose output flows through an mpsc receiver.

Traits§

RealtimeTransport
A duplex text-frame channel — minimal surface so providers can swap WebSocket for SSE, in-process loopback, etc.