Module httpbis::solicit
[−]
[src]
The module implements the framing layer of HTTP/2 and exposes an API for using it.
Modules
connection |
The module contains the implementation of an HTTP/2 connection. |
frame |
The module contains the implementation of HTTP/2 frames. |
header | |
session |
Defines the interface for the session-level management of HTTP/2 communication. This is effectively an API that allows hooking into an HTTP/2 connection in order to handle events arising on the connection. |
Structs
WindowSize |
The struct represents the size of a flow control window. |
Enums
HttpScheme |
An enum representing the two possible HTTP schemes. |
Constants
ALPN_PROTOCOLS |
A set of protocol names that the library should use to indicate that HTTP/2 is supported during protocol negotiation (NPN or ALPN). We include some of the drafts' protocol names, since there is basically no difference for all intents and purposes (and some servers out there still only officially advertise draft support). TODO: Eventually only use "h2". |
DEFAULT_SETTINGS | |
MAX_WINDOW_SIZE |
A sender MUST NOT allow a flow-control window to exceed 231-1 octets. If a sender receives a WINDOW_UPDATE that causes a flow-control window to exceed this maximum, it MUST terminate either the stream or the connection, as appropriate. For streams, the sender sends a RST_STREAM with an error code of FLOW_CONTROL_ERROR; for the connection, a GOAWAY frame with an error code of FLOW_CONTROL_ERROR is sent. |
MAX_WINDOW_SIZE_INC |
The payload of a WINDOW_UPDATE frame is one reserved bit plus an unsigned 31-bit integer indicating the number of octets that the sender can transmit in addition to the existing flow-control window. The legal range for the increment to the flow-control window is 1 to 231-1 (2,147,483,647) octets. |
Type Definitions
StreamId |
An alias for the type that represents the ID of an HTTP/2 stream |