salvo-middleware
Installation
SKILL.md
Salvo Middleware
In Salvo, middleware is just a Handler that calls ctrl.call_next(...). Attach it with hoop(); it runs for the current router and all descendants.
Basic middleware
use salvo::prelude::*;
In Salvo, middleware is just a Handler that calls ctrl.call_next(...). Attach it with hoop(); it runs for the current router and all descendants.
use salvo::prelude::*;