8 unstable releases (3 breaking)

0.5.1 Jan 10, 2024
0.5.0 Jan 8, 2024
0.4.0 May 19, 2023
0.3.1 Feb 23, 2023
0.2.0 Aug 4, 2022

#1496 in Network programming

Download history 1088/week @ 2024-01-25 1612/week @ 2024-02-01 1141/week @ 2024-02-08 1013/week @ 2024-02-15 703/week @ 2024-02-22 661/week @ 2024-02-29 1089/week @ 2024-03-07 1169/week @ 2024-03-14 861/week @ 2024-03-21 656/week @ 2024-03-28 658/week @ 2024-04-04 496/week @ 2024-04-11 876/week @ 2024-04-18 803/week @ 2024-04-25 1083/week @ 2024-05-02 851/week @ 2024-05-09

3,728 downloads per month
Used in 2 crates (via payjoin)

MIT/Apache

33KB
913 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
~28K SLoC