unienv_interface.remote.transport¶
Ordered, reliable binary message transports. WebSocket is an optional extra.
TransportClosed
¶
Bases: ConnectionError
MessageTransport
¶
Bases: Protocol
One reader and one writer may run concurrently; close unblocks both.
Implementations preserve complete message boundaries and order. They must bound buffering and raise ConnectionError/OSError on transport failure.
MemoryTransport
¶
MemoryTransport(incoming: _Channel, outgoing: _Channel)
WebSocketTransport
¶
WebSocketTransport(connection: Connection)