Skip to main content

Module connection

Module connection 

Source
Expand description

Outbound MoQT connection with MoQT framing over QUIC.

Structs§

ClientConfig
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.
FramedRecvStream
A framed reader for a recv stream. Handles MoQT varint-length decoding.
FramedSendStream
A framed writer for a send stream. Handles MoQT length-prefixed framing.
NamespaceStream
One SUBSCRIBE_NAMESPACE and everything answering it, on a bidirectional stream of their own.
PendingInbound 🔒
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.

Enums§

ConnectionError
Errors from the connection layer.
RequestOrigin
Which side opened the bidirectional stream a namespace subscription travels on.
TransportType
Transport type for the connection.

Constants§

MAX_QUIC_VARINT 🔒
The largest value a QUIC application error code can carry, 2^62 - 1.
MOQT_ALPN
The ALPN identifier draft-16 uses on raw QUIC, moqt-16.
STREAM_ABANDONED 🔒
The application error code a namespace subscription’s stream is abandoned with when this endpoint never served it: INTERNAL_ERROR, 0x0.

Functions§

object_role 🔒
What an Object Status makes of an object here.
varint_len 🔒
Determine the encoded length of a varint from its first byte.