nghttp3_qpack_decoder_read_encoder
Synopsis
#include <nghttp3/nghttp3.h>
-
nghttp3_ssize nghttp3_qpack_decoder_read_encoder(nghttp3_qpack_decoder *decoder, const uint8_t *src, size_t srclen)
nghttp3_qpack_decoder_read_encoder()reads encoder stream. The buffer pointed by src of length srclen contains encoder stream.This function returns the number of bytes read, or one of the following negative error codes:
NGHTTP3_ERR_NOMEMOut of memory.
NGHTTP3_ERR_QPACK_FATALdecoder is in unrecoverable error state, and cannot be used anymore.
NGHTTP3_ERR_QPACK_ENCODER_STREAMCould not interpret encoder stream instruction.