Expand description
Draft-13 data stream header encoding and decoding.
- Subgroup stream type IDs: 0x10-0x15, 0x18-0x1D
- Fetch stream type: 0x05
- Datagram types (separate namespace): 0x00-0x05
Re-exportsยง
use super::types::ObjectStatus;๐use crate::error::CodecError;๐use crate::object_properties::parse_object_properties;๐use crate::object_properties::ObjectProperty;๐use crate::object_properties::PropertyValue;๐use crate::types::read_bytes;๐use crate::varint::VarInt;๐use crate::version::DraftVersion;๐use bytes::Buf;๐use bytes::BufMut;๐
Structsยง
- Datagram
Header - Datagram
Status Header - Fetch
Gaps - The Prior Group ID Gap conditions of draft-13 Section 10.1 that one fetch stream shows.
- Fetch
Header - Fetch
Object Header - Object
Header - Prior
Gaps - The Prior Group ID Gap values one Object carries.
- Subgroup
Gaps - The Prior Group ID Gap values the Objects of one subgroup stream carried.
- Subgroup
Header
Enumsยง
- Datagram
- One datagram, of whichever shape its type field names.
- Datagram
Type - Datagram wire types (separate namespace from QUIC stream types).
- Stream
Type - Stream type IDs for draft-13 data streams.
Constantsยง
- PRIOR_
GROUP_ ID_ GAP - Prior Group ID Gap, Extension Header Type 0x40 (draft-13 Section 10.1).
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.