Skip to main content

Module data_stream

Module data_stream 

Source
Expand description

Draft-09 data stream header encoding and decoding.

Changes from draft-08:

  • extension_countextension_headers_length (byte length, not count)
  • Datagram (0x01): no payload_length or object_status; payload is remaining bytes
  • DatagramStatus (0x02): gains extension_headers_length field

Structs§

DatagramHeader
Datagram header with payload (draft-09, type 0x01).
DatagramStatusHeader
Datagram status header (draft-09, type 0x02).
FetchHeader
Fetch stream header (follows the stream type varint).
FetchObjectHeader
Object within a fetch stream (draft-09).
ObjectHeader
Object within a subgroup stream (draft-09).
SubgroupHeader
Subgroup stream header (follows the stream type varint).

Enums§

Datagram
One datagram, of whichever shape its type field names.
StreamType
Every type ID this draft’s data plane assigns, from two separate tables.