grpcdc/transport library

Classes

Marshaler
Implemented by hand-written protobuf message types.
StructMarshaler
Struct-layout encoding (see Codec.structCodecV1), implemented by messages generated with struct_codec=true.
StructUnmarshaler
Decoding side of StructMarshaler.
Transport
Carries whole DataChannel messages: one send is one message, boundaries preserved, ordered and reliable — the contract an RTCDataChannel (or the loopback pair) offers. Inbound messages arrive on onMessage; the stream completing means the transport closed.
Unmarshaler
Implemented by hand-written protobuf message types.