RateLimiterModule

ratelimiter. RateLimiterModule

Module for rate-limiting access to the API

Constructor

new RateLimiterModule()

Source:

Extends

  • AbstractModule

Members

rateLimiter :external:RateLimiterFlexible

Source:
Reference to the rate limiter instance
Type:
  • external:RateLimiterFlexible

Methods

(async) init()

Source:

middleware() → {function}

Source:
Limits the number of requests that can be made to the API
Returns:
An Express.js request handler
Type
function