min_http11_core

Crates.iomin_http11_core
lib.rsmin_http11_core
version0.1.4
sourcesrc
created_at2024-03-10 21:05:57.598641
updated_at2024-09-22 18:03:58.179342
descriptionMinimum HTTP/1.1 version, request line and headers
homepage
repositoryhttps://github.com/programingjd/min_http11
max_upload_size
id1168956
size42,014
DAVID, Jerome (programingjd)

documentation

README

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]>,
    ...
}
Commit count: 20

cargo fmt