Skip to main content

Module transport

Module transport 

Source
Expand description

coqui-transport over coqui-peer’s own wire: the frame the drivers speak as a codec, and a channel as a MessageTransport.

Structs§

ChannelTransport
A [Channel] as a MessageTransport, so a handshake can be driven over anything that carries messages.
PeerFrame
The frame of write_frame and read_frame: the message’s length as four big-endian bytes, then the message; an empty message is a message.