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

One fetch Object or End of Range marker, with every field resolved to its absolute value. More...

#include <moqfetch.h>

Data Fields

u64 flags
 Serialization Flags (MOQFETCH_F_* bits, or MOQFETCH_EOR_*).
u64 group
 Absolute Group ID.
u64 object
 Absolute Object ID.
int has_subgroup
 1 iff the Object has a Subgroup ID (not Datagram-preference).
u64 subgroup
 Subgroup ID; valid iff has_subgroup.
u64 priority
 Publisher Priority (explicit or inherited from the prior Object).
int has_props
 1 iff Object Properties were carried (MOQFETCH_F_PROPS).
wired_span props
 Object Properties' KVP bytes without the Length; view into the stream buffer.
wired_span payload
 Object payload; view into the stream buffer.

Detailed Description

One fetch Object or End of Range marker, with every field resolved to its absolute value.

flags is the wire Serialization Flags; an End of Range has flags MOQFETCH_EOR_*, group/object = the range's last Location (inclusive), no subgroup/priority/properties and an empty payload. has_subgroup is 0 for a Datagram-preference Object (0x40).


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