pub fn per_minute(
max_requests: u32,
) -> FromFnLayer<fn(State<Arc<ThrottleState>>, Option<ConnectInfo<SocketAddr>>, Request, Next) -> Pin<Box<dyn Future<Output = Response> + Send>>, Arc<ThrottleState>, (State<Arc<ThrottleState>>, Option<ConnectInfo<SocketAddr>>, Request)>Expand description
max_requests per rolling minute - Laravel’s own common default
(throttle:60,1) when a route doesn’t specify its own limit.