Skip to content



applySettings = ( _settings: ThrottlerSettings )

Changes Throttler's settings

Returns: ``

const Throttler

const Throttler = ( request: ILRequest, response: ILResponse, next: any )

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.


Name Type Description
request any The incoming request object.
response any The outgoing response object.
next any The next middleware function.

Returns: ``