|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
A WebTransport session. More...
#include <session.h>
Data Fields | |
| wired_wt_state | state |
| current lifecycle state | |
| u64 | connect_stream_id |
| this session's identity (the CONNECT stream's id) | |
| wired_wt_buffered_stream | streams [WIRED_WT_MAX_BUFFERED_STREAMS] |
| pre-establishment stream buffer; slots persist and are considered associated once established | |
| wired_wt_buffered_datagram | datagrams [WIRED_WT_MAX_BUFFERED_DATAGRAMS] |
| pre-establishment datagram buffer, same persist-and-repurpose design as streams | |
| u64 | max_streams_bidi |
| most recent WT_MAX_STREAMS (bidi) value from the peer; 0 = none received yet (SS5.3) | |
| u64 | max_streams_uni |
| most recent WT_MAX_STREAMS (uni) value from the peer; 0 = none received yet (SS5.3) | |
| u64 | opened_streams_bidi |
| cumulative count of bidi streams opened over the session's lifetime, including closed ones (SS5.3) | |
| u64 | opened_streams_uni |
| cumulative count of uni streams opened over the session's lifetime, including closed ones (SS5.3) | |
| u64 | max_data |
| most recent WT_MAX_DATA value from the peer; 0 = none received yet (SS5.4) | |
| u64 | sent_data |
| cumulative Stream Body bytes sent on the session so far (SS5.4) | |
A WebTransport session.
connect_stream_id is this session's identity (draft-ietf-webtrans-http3-15 SS4.3: the session ID equals the CONNECT request's client-initiated bidi stream ID).