wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
moqsub Struct Reference

One subscription's lifecycle state plus the flags moqsub_step keeps. More...

#include <moqsess.h>

Data Fields

moqsub_state state
 Lifecycle state.
moqsub_role role
 Side whose First message opened the request stream.
int responded
 Exactly-one-response gate: 1 once OK or ERROR was seen.
int pending_ok
 Publisher-initiated: 1 when PUBLISH_DONE came before any response, so a PUBLISH_OK is still owed.
int fin_req
 1 once the requester's direction closed (FIN).
int fin_resp
 1 once the responder's direction closed (FIN).
int term_reason
 MOQSUB_TERM_* once state == MOQSUB_TERMINATED, else 0.
int session_fault
 1 after a duplicate response: a session-level violation.

Detailed Description

One subscription's lifecycle state plus the flags moqsub_step keeps.


The documentation for this struct was generated from the following file: