Skip to main content

Module data_stream

Module data_stream 

Source
Expand description

Draft-12 data stream header encoding and decoding.

Changes from draft-11:

  • Subgroup stream type IDs shift from 0x08-0x0D to 0x10-0x15
  • Datagram types (separate namespace): 0x00-0x05
  • Fetch type: same as draft-11 (0x05)

Structsยง

DatagramHeader
DatagramStatusHeader
FetchHeader
FetchObjectHeader
ObjectHeader
SubgroupHeader

Enumsยง

Datagram
One datagram, of whichever shape its type field names.
DatagramType
Datagram wire types (separate namespace from QUIC stream types).
StreamType
Stream type IDs for draft-12 data streams.

Functionsยง

check_extensions_against_status ๐Ÿ”’
Hold an object to the rule that a non-existent object carries no extensions.
datagram_type_error ๐Ÿ”’
Which failure a leading datagram type that is not one a reader wants is.
read_extension_bytes ๐Ÿ”’
stream_type_error ๐Ÿ”’
Which failure a leading unidirectional stream type that is not the one a reader wants is.