Macros

NGHTTP2_VERSION

Version number of the nghttp2 library release

NGHTTP2_VERSION_NUM

Numerical representation of the version number of the nghttp2 library release. This is a 24 bit number with 8 bits for major number, 8 bits for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.

NGHTTP2_PROTO_VERSION_ID

The protocol version identification string of this library supports. This identifier is used if HTTP/2 is used over TLS.

NGHTTP2_PROTO_VERSION_ID_LEN

The length of NGHTTP2_PROTO_VERSION_ID.

NGHTTP2_PROTO_ALPN

The serialized form of ALPN protocol identifier this library supports. Notice that first byte is the length of following protocol identifier. This is the same wire format of TLS ALPN extension. This is useful to process incoming ALPN tokens in wire format.

NGHTTP2_PROTO_ALPN_LEN

The length of NGHTTP2_PROTO_ALPN.

NGHTTP2_CLEARTEXT_PROTO_VERSION_ID

The protocol version identification string of this library supports. This identifier is used if HTTP/2 is used over cleartext TCP.

NGHTTP2_CLEARTEXT_PROTO_VERSION_ID_LEN

The length of NGHTTP2_CLEARTEXT_PROTO_VERSION_ID.

NGHTTP2_VERSION_AGE

The age of nghttp2_info

NGHTTP2_DEFAULT_WEIGHT

The default weight of stream dependency.

NGHTTP2_MAX_WEIGHT

The maximum weight of stream dependency.

NGHTTP2_MIN_WEIGHT

The minimum weight of stream dependency.

NGHTTP2_MAX_WINDOW_SIZE

The maximum window size

NGHTTP2_INITIAL_WINDOW_SIZE

The initial window size for stream level flow control.

NGHTTP2_INITIAL_CONNECTION_WINDOW_SIZE

The initial window size for connection level flow control.

NGHTTP2_DEFAULT_HEADER_TABLE_SIZE

The default header table size.

NGHTTP2_CLIENT_MAGIC

The client magic string, which is the first 24 bytes byte string of client connection preface.

NGHTTP2_CLIENT_MAGIC_LEN

The length of NGHTTP2_CLIENT_MAGIC.

NGHTTP2_INITIAL_MAX_CONCURRENT_STREAMS

Warning

Deprecated. The initial max concurrent streams is 0xffffffffu.

Default maximum number of incoming concurrent streams. Use nghttp2_submit_settings() with NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS to change the maximum number of incoming concurrent streams.

Note

The maximum number of outgoing concurrent streams is 100 by default.