class ThrottleRequests (View source)
void | __construct(RateLimiter $limiter) Create a new request throttler. | |
mixed | handle(Request $request, Closure $next, int $maxAttempts = 60, float|int $decayMinutes = 1) Handle an incoming request. |
Create a new request throttler.
Handle an incoming request.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Routing/Middleware/ThrottleRequests.html