Connection
interface Connection
A point-to-point, message-oriented duplex link between exactly two peers.
The minimal SPI a message transport (WebSocket, gRPC bidi stream, Multipeer, Nearby) implements to become a kuilt fabric. Stream transports (TCP) do not implement this directly — they provide a kotlinx-io Source/Sink and use :kuilt-stream's framed() to obtain a Connection.
Each frame is a whole message; the link preserves frame boundaries and FIFO order.