Struct Raw
bodyparser
pub struct Raw;
Raw is a plugin to read a request body into UTF-8 String. Doesn't read multipart/form-data.
multipart/form-data
impl Key for Raw
type Value = Option<String>
The value type associated with this key type.
impl<'a, 'b> Plugin<Request<'a, 'b>> for Raw
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