Skip to main content

Module http2

Module http2 

Available on crate features http-full and http only.
Expand description

HTTP/2 client connections.

Structs§

Builder
A builder to configure an HTTP connection.
Connection
A future that processes all HTTP state for the IO object.
H2PeerSettingsHandle
Cloneable handle for querying the peer’s initial h2 SETTINGS frame on an established connection. Obtained from Connection::peer_settings_handle; survives the connection being spawned so callers can spawn(conn) first and then await here.
SendRequest
The sender side of an established connection.

Functions§

handshake
Returns a handshake future over some IO.