3 releases

0.0.3 Sep 20, 2023
0.0.2 Sep 15, 2023
0.0.1 Sep 14, 2023

#15 in #multiplexing

22 downloads per month

MIT license

47KB
1K SLoC

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.

Dependencies

~5–12MB
~127K SLoC