|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
The srvrun operations the mux forwards prefixed stream opens to, as a function-pointer table: the unity build links the real srvrun, so a test cannot stub wired_server_* by symbol and fills this with recorders instead. More...
#include <moqrawio.h>
Data Fields | |
| int(* | is_raw )(wired_wt_session *s) |
| wired_server_session_is_raw: 1 for a raw-QUIC session, 0 for WT. | |
| i64(* | open_bidi_stream )(wired_wt_session *s, wired_span payload) |
| wired_server_wt_open_bidi_stream: open a bidi stream, keep it open. | |
| i64(* | open_uni )(wired_wt_session *s, wired_span payload) |
| wired_server_wt_open_uni: open a uni stream, send payload, FIN. | |
| i64(* | open_uni_stream )(wired_wt_session *s, wired_span payload) |
| wired_server_wt_open_uni_stream: open a uni stream, keep it open. | |
The srvrun operations the mux forwards prefixed stream opens to, as a function-pointer table: the unity build links the real srvrun, so a test cannot stub wired_server_* by symbol and fills this with recorders instead.
wired_moqraw_io fills it with the wired_server_* functions named in each member's doc.