compose

Function compose 

Source
pub fn compose(
    middlewares: &Vec<Arc<dyn Middleware>>,
    final_handler: RequestHandler,
) -> RequestHandler
Expand description

Build the final handler by folding the middlewares in reverse.