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

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

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>>>

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

Loading content...

Implementors

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

Loading content...