class
ThrottleRequests (View source)
Methods
mixed
handle(
Request $request,
Closure $next,
int $maxAttempts = 60,
int $decayMinutes = 1)
Handle an incoming request.
Details
void
__construct(
RateLimiter $limiter)
Create a new request throttler.
mixed
handle(
Request $request,
Closure $next,
int $maxAttempts = 60,
int $decayMinutes = 1)
Handle an incoming request.