Skip to main content

Crate moqtap_client

Crate moqtap_client 

Source
Expand description

MoQT client library.

Provides a full MoQT client stack with per-draft modules. Each enabled draft lives under its own module (e.g. draft14) containing its own connection, endpoint state machine, and per-flow state machines.

The transport module is shared across drafts because it sits below the MoQT protocol layer (raw QUIC / WebTransport streams and datagrams).

§Feature flags

Enable a draft with --features draft14 (or any of draft07..draft17). Use all-drafts to enable every implemented draft. Default is draft14.

§Modules

  • dispatch — Multi-draft entry-point types (AnyConnection, AnyClientEvent, AnyConnectionObserver)
  • transport — Transport abstraction (QUIC, WebTransport)
  • draft07 — Draft-07 client (enabled via draft07 feature)
  • draft08 — Draft-08 client (enabled via draft08 feature)
  • draft09 — Draft-09 client (enabled via draft09 feature)
  • draft10 — Draft-10 client (enabled via draft10 feature)
  • draft13 — Draft-13 client (enabled via draft13 feature)
  • draft14 — Draft-14 client (enabled via draft14 feature)

Modules§

dispatch
Multi-draft entry-point types (AnyConnection, AnyClientEvent, AnyConnectionObserver) for downstream consumers that need to hold a connection without compile-time coupling to one draft. Unified multi-draft entry-point types.
draft07
MoQT client implementation for draft-07.
draft08
MoQT client implementation for draft-08.
draft09
MoQT client implementation for draft-09.
draft10
MoQT client implementation for draft-10.
draft11
MoQT client implementation for draft-11.
draft12
MoQT client implementation for draft-12.
draft13
MoQT client implementation for draft-13.
draft14
MoQT client implementation for draft-14.
draft15
MoQT client implementation for draft-15.
draft16
MoQT client implementation for draft-16.
draft17
MoQT client implementation for draft-17.
transport
Transport abstraction (QUIC, with WebTransport planned). Shared across drafts. Transport abstraction for QUIC and WebTransport.