throttler
applySettings
¶
Changes Throttler's settings
Returns: ``
const Throttler
¶
Throttles incoming requests based on IP address. If the IP address has reached the request limit, it delays the request before passing it to the next middleware.
Parameters
Name | Type | Description |
---|---|---|
request |
any | The incoming request object. |
response |
any | The outgoing response object. |
next |
any | The next middleware function. |
Returns: ``