Struct Params
iron_params
pub struct Params;
impl Key for Params
type Value = Arc<HashMap<String, Vec<String>>>
The value type associated with this key type.
impl BeforeMiddleware for Params
fn before(&self, req: &mut Request) -> IronResult<()>
Do whatever work this middleware should do with a Request object.
Request
fn catch(&self, &mut Request, err: IronError) -> Result<(), IronError>
Respond to an error thrown by a previous BeforeMiddleware. Read more
BeforeMiddleware