3 unstable releases

0.1.1 May 4, 2024
0.1.0 Mar 22, 2024
0.0.1 Mar 10, 2024

#342 in HTTP server

Download history 157/week @ 2024-03-10 118/week @ 2024-03-17 19/week @ 2024-03-24 59/week @ 2024-03-31 9/week @ 2024-04-07 64/week @ 2024-04-28 109/week @ 2024-05-05

173 downloads per month
Used in 2 crates (via min_http11_parser)

MIT license

41KB
913 lines

min_http11_core  LICENSE crates.io Version Documentation

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

~0.4–0.9MB
~19K SLoC