Constructor
new RateLimiterModule()
Extends
- AbstractModule
Members
rateLimiter :external:RateLimiterFlexible
- Description:
- Reference to the rate limiter instance
- Source:
Reference to the rate limiter instance
Type:
- external:RateLimiterFlexible
Methods
(async) init()
middleware() → {function}
- Description:
- Limits the number of requests that can be made to the API
- Source:
Returns:
An Express.js request handler
- Type
- function