Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 782 Bytes

File metadata and controls

28 lines (15 loc) · 782 Bytes

elections-cpl.api.hscc.bdpa.orgDocs


elections-cpl.api.hscc.bdpa.org / lib/next-limit / removeRateLimit

Function: removeRateLimit()

removeRateLimit(__namedParameters): Promise<number>

Removes a rate limit on a client matched against either ip, header, or both. Matching against both removes rate limits that match either criterion.

Parameters

__namedParameters

__namedParameters.target: undefined | object

Returns

Promise<number>

The number of rate limits removed.

Source

lib/next-limit/index.ts:69