Trait formdata::Request [] [src]

pub trait Request {
    fn headers(&self) -> &Headers;
    fn read_mut(&mut self) -> &mut Read;
}

A wrapper for request data to provide parsing multipart requests to any front-end that provides a hyper::header::Headers and a std::io::Read of the request's entire body.

Required Methods

fn headers(&self) -> &Headers

Returns a reference to the request's headers.

fn read_mut(&mut self) -> &mut Read

Returns a mutable reference to the request's body reader.

Implementors