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

SWITCH_FROM value (moqtail): activate this subscription and stop the one with request_id. More...

#include <moqctl.h>

Data Fields

u64 request_id
 Request ID of the subscription being switched away from.
u8 mode
 MOQCTL_SWITCH_HARD / MOQCTL_SWITCH_SOFT.
u8 publish_done
 Flags bit 0x80: end the old subscription with PUBLISH_DONE.

Detailed Description

SWITCH_FROM value (moqtail): activate this subscription and stop the one with request_id.

Encode fails (0) when mode is not Hard/Soft.


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