Trait nickel::Middleware [] [src]

pub trait Middleware<D>: Send + 'static + Sync {
    fn invoke<'mw, 'conn>(&'mw self, _req: &mut Request<'mw, 'conn, D>, res: Response<'mw, D, Fresh>) -> MiddlewareResult<'mw, D> { ... }
}

Provided Methods

fn invoke<'mw, 'conn>(&'mw self, _req: &mut Request<'mw, 'conn, D>, res: Response<'mw, D, Fresh>) -> MiddlewareResult<'mw, D>

Implementors