Trait multipart::server::HttpRequest [] [src]

pub trait HttpRequest: Read {
    fn is_multipart(&self) -> bool;
    fn boundary(&self) -> Option<&str>;
}

A server-side HTTP request that may or may not be multipart.

Required Methods

fn is_multipart(&self) -> bool

Return true if this request is a multipart/form-data request, false otherwise.

fn boundary(&self) -> Option<&str>

Get the boundary string of this request if it is multipart/form-data.

Implementors