Struct bodyparser::Raw [] [src]

pub struct Raw;

Raw is a plugin to read a request body into UTF-8 String. Doesn't read multipart/form-data.

Trait Implementations

impl Key for Raw
[src]

type Value = Option<String>

The value type associated with this key type.

impl<'a, 'b> Plugin<Request<'a, 'b>> for Raw
[src]

type Error = BodyError

The error type associated with this plugin.

fn eval(req: &mut Request) -> Result<Option<String>, BodyError>

Create the plugin from an instance of the extended type. Read more