[−][src]Struct http_parser::parser::Request
The HTTP request structure.
This structure tries to follow RFC 2616 Section 5 https://tools.ietf.org/html/rfc2616#section-5. Bellow you can see the expected request format.
Request = Request-Line
*(( general-header
| request-header
| entity-header ) CRLF)
CRLF
[ message-body ]
The implementation may not be complete as it is a work in progress.
Fields
method: &'a strThe method of the request, it can be one of: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT
request_uri: &'a strhttp_version: &'a strheader: HashMap<&'a str, &'a str>body: &'a strImplementations
impl<'a> Request<'a>[src]
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,