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

#1527 in Network programming

Download history 1427/week @ 2024-07-20 1459/week @ 2024-07-27 1547/week @ 2024-08-03 839/week @ 2024-08-10 769/week @ 2024-08-17 1429/week @ 2024-08-24 988/week @ 2024-08-31 1239/week @ 2024-09-07 1733/week @ 2024-09-14 1680/week @ 2024-09-21 1114/week @ 2024-09-28 1242/week @ 2024-10-05 1080/week @ 2024-10-12 1890/week @ 2024-10-19 1849/week @ 2024-10-26 1696/week @ 2024-11-02

6,660 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.2–1.1MB
~23K SLoC