6 releases
0.1.4 | Sep 22, 2024 |
---|---|
0.1.3 | Aug 9, 2024 |
0.1.2 | Jul 13, 2024 |
0.1.1 | May 4, 2024 |
0.0.1 | Mar 10, 2024 |
#340 in HTTP server
Used in 2 crates
(via min_http11_parser)
41KB
913 lines
min_http11_core
pub enum Version {
Http11,
Unsupported(..),
}
pub enum Method {
Get,
Head,
Post,
Put,
Delete,
Options,
Patch,
Other(..),
}
pub enum HeaderName {
ContentLength,
Host,
IfMatch,
IfNoneMatch,
...
Other(..),
Unknown(..),
}
pub struct KnownHeaders<'a> {
pub content_length: Option<&'a [u8]>,
pub host: Option<&'a [u8]>,
pub if_match: Option<&'a [u8]>,
pub if_none_match: Option<&'a [u8]>,
...
}
Dependencies
~295–750KB
~17K SLoC