Trait conduit_middleware::Middleware
[−]
[src]
pub trait Middleware: Send + Sync + 'static { fn before(&self, _: &mut Request) -> Result<(), Box<Error + Send>> { ... } fn after(&self, _: &mut Request, res: Result<Response, Box<Error + Send>>) -> Result<Response, Box<Error + Send>> { ... } }