Crate tokio_h2mux

Source
Expand description

Multiplexing streams over HTTP/2, built upon h2.

Unlike streams opened via the standard HTTP CONNECT method, h2mux streams can be written to with data immediately after being opened by the client, without waiting 1 extra RTT for the server to respond to the request.

It supports auto-scaling HTTP/2 window size based on BDP estimation, ported from hyper with some params tuned.

Re-exports§

pub use crate::client::InFlightH2Stream;

Modules§

client
Client implementation of h2mux.
server
Server implementation of h2mux.

Enums§

Error

Type Aliases§

H2Stream
Stream multiplexed over a HTTP/2 connection.