Expand description
Outbound MoQT connection with MoQT framing over QUIC.
Structs§
- Client
Config - Configuration for a MoQT client connection.
- Connection
- A live MoQT connection over QUIC or WebTransport, combining the endpoint state machine with actual network I/O.
- Framed
Recv Stream - A framed reader for a recv stream. Handles MoQT varint-length decoding.
- Framed
Send Stream - A framed writer for a send stream. Handles MoQT length-prefixed framing.
- Pending
Inbound 🔒 - Holds a peer-opened stream pair while its first message is being read, and puts it back on the connection’s queue if that read is abandoned.
- Request
Stream - One request and its answer, on a bidirectional stream of their own.
Enums§
- Connection
Error - Errors from the connection layer.
- Request
Kind - Which of the six message types draft-17 Section 3.3 lets a bidirectional stream begin with opened a request stream.
- Request
Origin - Which side opened the bidirectional stream a request travels on.
- Transport
Type - Transport type for the connection.
Constants§
- CONTROL_
STREAM_ TYPE - The unidirectional stream type that marks one direction of the control plane, and the SETUP message type. On draft-17 they are one number, 0x2F00: Section 3.4 (Unidirectional Stream Types) lists it as the type of a SETUP stream, and Section 9.4 gives it as the SETUP message’s own type field.
- MAX_
QUIC_ 🔒VARINT - The largest value a QUIC application error code can carry,
2^62 - 1. - MOQT_
ALPN - The ALPN identifier draft-17 uses on raw QUIC,
moqt-17. - REQUEST_
CANCELLED - The application error code a request stream is reset with when the
requester abandons it:
CANCELLED, 0x1. - REQUEST_
UNANSWERED - The application error code a request stream the peer opened is reset
with when this endpoint abandons it:
INTERNAL_ERROR, 0x0.
Functions§
- belongs_
on_ 🔒a_ request_ stream - Whether draft-17 places this message on a request stream that is already open.
- object_
role 🔒 - What an Object Status makes of an object here.
- starts_
a_ request_ stream - Whether
tyis one of the six message types draft-17 Section 3.3 lets a bidirectional stream begin with.