10 releases

0.5.3 Jun 25, 2024
0.5.1 Jan 10, 2024
0.4.0 May 19, 2023
0.3.1 Feb 23, 2023
0.2.2 Nov 30, 2022

#1360 in Network programming

Download history 1031/week @ 2024-03-17 748/week @ 2024-03-24 704/week @ 2024-03-31 398/week @ 2024-04-07 612/week @ 2024-04-14 1038/week @ 2024-04-21 728/week @ 2024-04-28 1211/week @ 2024-05-05 1601/week @ 2024-05-12 2094/week @ 2024-05-19 1789/week @ 2024-05-26 1319/week @ 2024-06-02 1675/week @ 2024-06-09 1325/week @ 2024-06-16 1504/week @ 2024-06-23 379/week @ 2024-06-30

4,954 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

34KB
958 lines

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–1MB
~26K SLoC