filters\RateLimiter checkRateLimit()

checkRateLimit() public method

Checks whether the rate limit exceeds.

public void checkRateLimit ( $user, $request, $response, $action )
$user yii\filters\RateLimitInterface

The current user

$request yii\web\Request
$response yii\web\Response
$action yii\base\Action

The action to be executed

throws yii\web\TooManyRequestsHttpException

if rate limit exceeds

doc_Yii
2016-10-30 17:02:45
Comments
Leave a Comment

Please login to continue.