1 2 3 4 5 6 7 8 9 10 11 12 13 14
pub(crate) mod error; mod parser; use http::{HeaderMap, Method, Uri}; pub use error::Error; #[derive(Debug, Clone, Default)] pub struct ParsedRequest { pub method: Method, pub url: Uri, pub headers: HeaderMap, pub body: Vec<String>, }