Module framing

Module framing 

Source
Expand description

This module provides an async CloudProtoSocket Stream + Sink that handles CloudProtoPackets.

CLOUDPROTO is a packet-based big endian binary protocol that transports events or other payloads. The framing layer handles the common outer header/framing, but ignores the inner service-specific payload format and interpretation of packet kinds.

Structs§

CloudProtoPacket
The common framing packet structure of the protocol
CloudProtoSocket
The common socket that carries framing-layer packets used by higher level protocols

Enums§

CloudProtoError
CloudProtoVersion

Constants§

DEFAULT_MAX_FRAME_LENGTH
Default maximum size of a single CloudProtoPacket, including header