Skip to content

miniproto.connection.framing

Stateful MTProto TCP transport framing.

The codec is deliberately independent from sockets: callers may feed arbitrary fragments, and every complete frame is drained before another read is needed.