nghttp2_conn_get_headers_field_blocklen
Synopsis
#include <nghttp2v2/nghttp2.h>
-
size_t nghttp2_conn_get_headers_field_blocklen(const nghttp2_conn *conn)
nghttp2_conn_get_headers_field_blocklen()returns the compressed HPACK field block length of HEADERS frame that conn is currently processing. If CONTINUATION frames are involved, this value is the sum of all HEADERS and CONTINUATION frames up to the frame that bares END_HEADERS flag. This function should only be called withinnghttp2_callbacks.end_headersornghttp2_callbacks.end_trailerscallback. Otherwise, the behavior is undefined.