[−][src]Trait multipart::server::HttpRequest
A server-side HTTP request that may or may not be multipart.
May be implemented by mutable references if providing the request or body by-value is undesirable.
Associated Types
Loading content...Required methods
fn multipart_boundary(&self) -> Option<&str>
Get the boundary string of this request if it is a POST request
with the Content-Type
header set to multipart/form-data
.
The boundary string should be supplied as an extra value of the Content-Type
header, e.g.
Content-Type: multipart/form-data; boundary={boundary}
.
fn body(self) -> Self::Body
Return the request body for reading.
Implementations on Foreign Types
impl<'r, 'a, 'b> HttpRequest for &'r mut IronRequest<'a, 'b>
[src]
impl<'r, 'a, 'b> HttpRequest for &'r mut IronRequest<'a, 'b>
type Body = &'r mut IronBody<'a, 'b>
fn multipart_boundary(&self) -> Option<&str> | [src] |
fn body(self) -> &'r mut IronBody<'a, 'b> | [src] |
Implementors
impl<'a> HttpRequest for ServerRequest<'a>
[src]
impl<'a> HttpRequest for ServerRequest<'a>
impl<'a, 'b> HttpRequest for HyperRequest<'a, 'b>
[src]
impl<'a, 'b> HttpRequest for HyperRequest<'a, 'b>
impl<'r> HttpRequest for &'r mut TinyHttpRequest
[src]
impl<'r> HttpRequest for &'r mut TinyHttpRequest
type Body = &'r mut dyn Read
fn multipart_boundary(&self) -> Option<&str> | [src] |
fn body(self) -> Self::Body | [src] |
impl<'r, 'a, 'b> HttpRequest for &'r mut HyperRequest<'a, 'b>
[src]
impl<'r, 'a, 'b> HttpRequest for &'r mut HyperRequest<'a, 'b>
impl<'r, 'mw: 'r, 'server: 'mw, D: 'mw> HttpRequest for Maybe<'r, 'mw, 'server, D>
[src]
impl<'r, 'mw: 'r, 'server: 'mw, D: 'mw> HttpRequest for Maybe<'r, 'mw, 'server, D>
type Body = &'r mut HyperRequest<'mw, 'server>
fn multipart_boundary(&self) -> Option<&str> | [src] |
fn body(self) -> Self::Body | [src] |