1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub(crate) mod error;
mod parser;

use http::{HeaderMap, Method, Uri};
use std::borrow::Cow;

pub use error::Error;

#[derive(Debug, Clone, Default)]
pub struct ParsedRequest<'a> {
    pub method: Method,
    pub url: Uri,
    pub headers: HeaderMap,
    pub body: Vec<Cow<'a, str>>,
}