http/src/lib.rs

16 lines
446 B
Rust

//! http parses the request according to the HTTP message specifications
//! it also includes `HTTPResponse` to build an HTTPResponse
//!
//! see: https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages
//! NOTE: only few parts of the specification has been implemented
mod body;
mod request;
mod start_line;
mod version;
pub use body::HTTPBody;
pub use request::HTTPRequest;
pub use start_line::HTTPStartLine;
pub use version::HTTPVersion;