Debian Codegraph @

third_party/rust/bhttp/README.md

raw
1 # Binary HTTP Messages
2
3 This is a rust implementation of [Binary HTTP
4 Messages](https://www.rfc-editor.org/rfc/rfc9292.html).
5
6 ## Using
7
8 The API documentation is currently sparse, but the API is fairly small and
9 descriptive.
10
11 The `bhttp` crate has the following features:
12
13 - `read-bhttp` enables parsing of binary HTTP messages. This is enabled by
14 default.
15
16 - `write-bhttp` enables writing of binary HTTP messages. This is enabled by
17 default.
18
19 - `read-http` enables a simple HTTP/1.1 message parser. This parser is fairly
20 basic and is not recommended for production use. Getting an HTTP/1.1 parser
21 right is a massive enterprise; this one only does the basics. This is
22 disabled by default.
23
24 - `write-http` enables writing of HTTP/1.1 messages. This is disabled by
25 default.