11 releases

0.5.4 Feb 27, 2025
0.5.3 Jun 25, 2024
0.5.1 Jan 10, 2024
0.4.0 May 19, 2023
0.2.2 Nov 30, 2022

#370 in Web programming

Download history 1327/week @ 2024-12-08 1336/week @ 2024-12-15 417/week @ 2024-12-22 572/week @ 2024-12-29 1474/week @ 2025-01-05 1662/week @ 2025-01-12 1102/week @ 2025-01-19 1028/week @ 2025-01-26 1974/week @ 2025-02-02 1121/week @ 2025-02-09 1446/week @ 2025-02-16 1893/week @ 2025-02-23 2327/week @ 2025-03-02 1492/week @ 2025-03-09 2330/week @ 2025-03-16 2725/week @ 2025-03-23

9,006 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

36KB
1K SLoC

Binary HTTP Messages

This is a rust implementation of Binary HTTP Messages.

Using

The API documentation is currently sparse, but the API is fairly small and descriptive.

The bhttp crate has the following features:

  • read-bhttp enables parsing of binary HTTP messages. This is enabled by default.

  • write-bhttp enables writing of binary HTTP messages. This is enabled by default.

  • read-http enables a simple HTTP/1.1 message parser. This parser is fairly basic and is not recommended for production use. Getting an HTTP/1.1 parser right is a massive enterprise; this one only does the basics. This is disabled by default.

  • write-http enables writing of HTTP/1.1 messages. This is disabled by default.

Dependencies

~0.3–1.1MB
~23K SLoC