class RestfulRateLimitRequest in RESTful 7
@file Contains RestfulRateLimitRequest.
Hierarchy
- class \RestfulRateLimitBase implements RestfulRateLimitInterface
- class \RestfulRateLimitRequest
Expanded class hierarchy of RestfulRateLimitRequest
1 string reference to 'RestfulRateLimitRequest'
- request.inc in plugins/
rate_limit/ request.inc
File
- plugins/
rate_limit/ RestfulRateLimitRequest.class.php, line 8 - Contains RestfulRateLimitRequest.
View source
class RestfulRateLimitRequest extends \RestfulRateLimitBase {
/**
* {@inheritdoc}
*/
public function isRequestedEvent(array $request = array()) {
return TRUE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RestfulRateLimitBase:: |
protected | property | Array of maximum limit of requests across all endpoints per role. | |
RestfulRateLimitBase:: |
protected | property | The event name. | |
RestfulRateLimitBase:: |
protected | property | Period after which the rate limit is expired. | |
RestfulRateLimitBase:: |
protected | property | The resource name this object is limiting access to. | |
RestfulRateLimitBase:: |
public | function | Generates an identifier for the event and the request. | 1 |
RestfulRateLimitBase:: |
public | function | Get the rate limit. Returns the highest rate limit for the current account. | 1 |
RestfulRateLimitBase:: |
public | function | Get the rate limit period. | |
RestfulRateLimitBase:: |
public | function | Load rate limit entity. | |
RestfulRateLimitBase:: |
public | function | Set the rate limit. | |
RestfulRateLimitBase:: |
public | function | Set the rate limit period. | |
RestfulRateLimitBase:: |
public | function | Constructor. | 1 |
RestfulRateLimitRequest:: |
public | function |
Checks if the current request meets the event for the implementing class. Overrides RestfulRateLimitInterface:: |