Expand description
Unified endpoint state machine orchestrating all MoQT protocol flows. Draft-17 MoQT endpoint.
Major architectural differences from earlier drafts:
- Unified
Setupmessage (no separate CLIENT_SETUP / SERVER_SETUP). - Response messages (
SubscribeOk,PublishOk,FetchOk,PublishDone,RequestOk,RequestError) do NOT carry arequest_id. Each request opens its own bidirectional stream and its response arrives as the first message on that stream (spec §3.3, §9.7, §9.9). The transport layer knows whichrequest_ideach bidi stream belongs to; callers must supply thatrequest_idviaEndpoint::receive_response_on_stream. - No
Unsubscribe,FetchCancel,MaxRequestId,RequestsBlocked,PublishNamespaceDone, orPublishNamespaceCancelmessages. - Request-producing messages (
Subscribe,Publish,Fetch,PublishNamespace,SubscribeNamespace,TrackStatus,RequestUpdate) gain arequired_request_id_deltafield. - New
PublishBlockedmessage notifies subscribers a publisher is blocked. NamespaceandNamespaceDoneare unsolicited announcements of namespace suffixes.
Structs§
Enums§
- Endpoint
Error - Errors that can occur during endpoint operations.