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

#406 in Web programming

Download history 511/week @ 2024-12-27 1347/week @ 2025-01-03 1693/week @ 2025-01-10 1021/week @ 2025-01-17 1165/week @ 2025-01-24 1693/week @ 2025-01-31 1394/week @ 2025-02-07 1182/week @ 2025-02-14 1847/week @ 2025-02-21 2546/week @ 2025-02-28 1396/week @ 2025-03-07 2049/week @ 2025-03-14 2902/week @ 2025-03-21 2227/week @ 2025-03-28 1481/week @ 2025-04-04 1603/week @ 2025-04-11

8,559 downloads per month
Used in 5 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.2–1MB
~22K SLoC