pub struct HttpRequest {
pub method: String,
pub path: String,
pub query: String,
pub headers: HashMap<String, String>,
pub body: Vec<u8>,
}Expand description
Parsed HTTP request.
Fields§
§method: String§path: String§query: String§headers: HashMap<String, String>§body: Vec<u8>Auto Trait Implementations§
impl Freeze for HttpRequest
impl RefUnwindSafe for HttpRequest
impl Send for HttpRequest
impl Sync for HttpRequest
impl Unpin for HttpRequest
impl UnwindSafe for HttpRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more