libhttp2.constants

Constants

Members

Static variables

VALID_HD_NAME_CHARS
immutable(char)[] VALID_HD_NAME_CHARS;
Undocumented in source.
VALID_HD_VALUE_CHARS
const(ubyte)[] VALID_HD_VALUE_CHARS;
Undocumented in source.
g_lib_info
LibInfo g_lib_info;
Undocumented in source.

Structs

LibInfo
struct LibInfo

* Use this to verify compatibility if dynamic linking is involved.

Variables

CLEARTEXT_PROTOCOL_VERSION_ID
auto CLEARTEXT_PROTOCOL_VERSION_ID;

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

CLIENT_CONNECTION_PREFACE
auto CLIENT_CONNECTION_PREFACE;

The client connection preface.

DATA_PAYLOADLEN
auto DATA_PAYLOADLEN;

The default length of DATA frame payload.

DEBUG
auto DEBUG;
Undocumented in source.
DEFAULT_HEADER_TABLE_SIZE
auto DEFAULT_HEADER_TABLE_SIZE;

The default header table size.

DEFAULT_WEIGHT
auto DEFAULT_WEIGHT;

The default weight of stream dependency.

ENABLE_FIRST_SETTING_CHECK
auto ENABLE_FIRST_SETTING_CHECK;
Undocumented in source.
ENABLE_FIRST_SETTING_CHECK
auto ENABLE_FIRST_SETTING_CHECK;
Undocumented in source.
FRAMEBUF_CHUNKLEN
auto FRAMEBUF_CHUNKLEN;
Undocumented in source.
FRAMEBUF_MAX_NUM
auto FRAMEBUF_MAX_NUM;

Number of inbound buffer

FRAME_HDLEN
auto FRAME_HDLEN;
Undocumented in source.
FRAME_SETTINGS_ENTRY_LENGTH
auto FRAME_SETTINGS_ENTRY_LENGTH;

The number of bytes for each SETTINGS entry

HTTP_1_1_ALPN
auto HTTP_1_1_ALPN;
Undocumented in source.
INBOUND_BUFFER_LENGTH
auto INBOUND_BUFFER_LENGTH;

Buffer length for inbound raw byte stream used in Session.recv.

INBOUND_NUM_IV
auto INBOUND_NUM_IV;
Undocumented in source.
INITIAL_CONNECTION_WINDOW_SIZE
auto INITIAL_CONNECTION_WINDOW_SIZE;

The initial window size for connection level flow control.

INITIAL_MAX_CONCURRENT_STREAMS
auto INITIAL_MAX_CONCURRENT_STREAMS;

Default maximum concurrent streams.

INITIAL_WINDOW_SIZE
auto INITIAL_WINDOW_SIZE;

The initial window size for stream level flow control.

MAX_FRAME_SIZE_MAX
auto MAX_FRAME_SIZE_MAX;
Undocumented in source.
MAX_FRAME_SIZE_MIN
auto MAX_FRAME_SIZE_MIN;
Undocumented in source.
MAX_HEADERSLEN
auto MAX_HEADERSLEN;

Maximum headers payload length, calculated in compressed form. This applies to transmission only.

MAX_HEADER_TABLE_SIZE
auto MAX_HEADER_TABLE_SIZE;

The maximum header table size in Setting.HEADER_TABLE_SIZE

MAX_PADLEN
auto MAX_PADLEN;

Maximum length of padding in bytes.

MAX_PAYLOADLEN
auto MAX_PAYLOADLEN;
Undocumented in source.
MAX_WEIGHT
auto MAX_WEIGHT;

The maximum weight of stream dependency.

MAX_WINDOW_SIZE
auto MAX_WINDOW_SIZE;

The maximum window size

MIN_WEIGHT
auto MIN_WEIGHT;

The minimum weight of stream dependency.

OB_EX_WEIGHT
auto OB_EX_WEIGHT;

A bit higher weight for non-DATA frames

OB_PING_WEIGHT
auto OB_PING_WEIGHT;

Highest weight for PING

OB_SETTINGS_WEIGHT
auto OB_SETTINGS_WEIGHT;

Higher weight for SETTINGS

PRIORITY_MASK
auto PRIORITY_MASK;
Undocumented in source.
PRIORITY_SPECLEN
auto PRIORITY_SPECLEN;

Length of priority related fields in HEADERS/PRIORITY frames

PRI_GROUP_ID_MASK
auto PRI_GROUP_ID_MASK;
Undocumented in source.
PROTOCOL_ALPN
auto PROTOCOL_ALPN;

The seriazlied 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 <https://tools.ietf.org/html/rfc7301>`_. This is useful to process incoming ALPN tokens in wire format.

PROTOCOL_VERSION_ID
auto PROTOCOL_VERSION_ID;

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

SETTINGS_ID_MASK
auto SETTINGS_ID_MASK;
Undocumented in source.
STREAM_ID_MASK
auto STREAM_ID_MASK;
Undocumented in source.
TEST_ALL
auto TEST_ALL;
Undocumented in source.
TEST_ALL
auto TEST_ALL;
Undocumented in source.
VERSION
auto VERSION;

Version of this library

WINDOW_SIZE_INCREMENT_MASK
auto WINDOW_SIZE_INCREMENT_MASK;
Undocumented in source.

Meta

License

Distributed under the terms of the MIT license with an additional section 1.2 of the curl/libcurl project. Consult the provided LICENSE.md file for details