5 Struct H2_STREAM
gullradriel edited this page 2026-10-09 00:55:18 +02:00

H2_STREAM

one client-initiated stream

Public Attributes

Name
int64_t send_win
our remaining send window for this stream
int reset
RST_STREAM received, or the request was refused.
size_t nhdrs
number of decoded headers
int in_use
1 when the slot holds a stream
uint32_t id
the stream identifier
int headers_done
END_HEADERS seen: the header block decoded.
N_H2_HEADER * hdrs
decoded request headers (owned), or NULL
int end_stream
END_STREAM seen: the request is complete.
int delivered
the request was handed to the callback
H2BUF body
accumulated request body

Public Attributes Documentation

variable send_win

int64_t send_win;

our remaining send window for this stream

variable reset

int reset;

RST_STREAM received, or the request was refused.

variable nhdrs

size_t nhdrs;

number of decoded headers

variable in_use

int in_use;

1 when the slot holds a stream

variable id

uint32_t id;

the stream identifier

variable headers_done

int headers_done;

END_HEADERS seen: the header block decoded.

variable hdrs

N_H2_HEADER * hdrs;

decoded request headers (owned), or NULL

variable end_stream

int end_stream;

END_STREAM seen: the request is complete.

variable delivered

int delivered;

the request was handed to the callback

variable body

H2BUF body;

accumulated request body