nghttp3_qpack_decoder_cancel_stream

Synopsis

#include <nghttp3/nghttp3.h>

int nghttp3_qpack_decoder_cancel_stream(nghttp3_qpack_decoder *decoder, int64_t stream_id)

nghttp3_qpack_decoder_cancel_stream() cancels HTTP field section decoding for stream denoted by stream_id.

This function returns 0 if it succeeds, or one of the following negative error codes:

NGHTTP3_ERR_NOMEM

Out of memory.

NGHTTP3_ERR_QPACK_FATAL

Decoder stream overflow.