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

ConnectionError

The struct represents a connection error arising on an HTTP/2 connection.

Response

A struct representing the full raw response received on an HTTP/2 connection.

WindowSize

The struct represents the size of a flow control window.

Enums

ErrorCode

The enum represents an error code that are used in RST_STREAM and GOAWAY frames. These are defined in Section 7 of the HTTP/2 spec.

HttpError

An enum representing errors that can arise when performing operations involving an HTTP/2 connection.

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".

INITIAL_CONNECTION_WINDOW_SIZE

The initial size of the connections' flow control window.

Type Definitions

HttpResult

A convenience Result type that has the HttpError type as the error type and a generic Ok result type.

StreamId

An alias for the type that represents the ID of an HTTP/2 stream