Trait multipart::server::nickel::MultipartBody[][src]

pub trait MultipartBody<'mw, 'server> {
    fn multipart_body(
        &mut self
    ) -> Option<Multipart<&mut HyperRequest<'mw, 'server>>>; }
Expand description

Extension trait for getting the multipart/form-data body from nickel::Request.

Implemented for nickel::Request.

Required methods

fn multipart_body(
    &mut self
) -> Option<Multipart<&mut HyperRequest<'mw, 'server>>>
[src]

Get a multipart reader for the request body, if the request is of the right type.

Implementors

impl<'mw, 'server, D: 'mw> MultipartBody<'mw, 'server> for NickelRequest<'mw, 'server, D>[src]

fn multipart_body(
    &mut self
) -> Option<Multipart<&mut HyperRequest<'mw, 'server>>>
[src]