pub fn compose(
middlewares: &Vec<Arc<dyn Middleware>>,
final_handler: RequestHandler,
) -> RequestHandlerExpand description
Build the final handler by folding the middlewares in reverse.
pub fn compose(
middlewares: &Vec<Arc<dyn Middleware>>,
final_handler: RequestHandler,
) -> RequestHandlerBuild the final handler by folding the middlewares in reverse.