ruvel 0.1.3

The laravel alternative framework with rust performance
Documentation
1
2
3
4
5
use crate::http::Request;

pub trait Middleware: Send + Sync {
    fn handle(&self, _req: &Request, _next: Box<dyn FnOnce(&Request) + Send>);
}