Aeon\Symfony\AeonBundle\RateLimiter\RequestThrottling\RouteThrottle

View at GitHub ( 1.x )
Introduction

Class synopis

class final RouteThrottle
{
public __construct ( string $name , RateLimiter $rateLimiter , array $methods , RequestIdentificationStrategy $requestIdentificationStrategy )
public is ( string $name , string $method ) : bool
public limit ( void ) : int
public resetIn ( Request $request ) : TimeUnit
public capacity ( Request $request ) : int
public estimate ( Request $request ) : TimeUnit
public hit ( Request $request ) : void
}
Table of Contents