Enums

nghttp2_error

Error codes used in this library. The code range is [-999, -500], inclusive. The following values are defined:

nghttp2_nv_flag

The flags for header field name/value pair.

nghttp2_frame_type

The frame types in HTTP/2 specification.

nghttp2_flag

The flags for HTTP/2 frames. This enum defines all flags for all frames.

nghttp2_settings_id

The SETTINGS ID.

nghttp2_error_code

The status codes for the RST_STREAM and GOAWAY frames.

nghttp2_data_flag

The flags used to set in data_flags output parameter in nghttp2_data_source_read_callback.

nghttp2_headers_category

The category of HEADERS, which indicates the role of the frame. In HTTP/2 spec, request, response, push response and other arbitrary headers (e.g., trailer fields) are all called just HEADERS. To give the application the role of incoming HEADERS frame, we define several categories.

nghttp2_hd_inflate_flag

The flags for header inflation.

nghttp2_stream_proto_state

State of stream as described in RFC 7540.