BeechCMS / @beechcms/core / IRateLimiter
Interface: IRateLimiter
Methods
checkLimit()
checkLimit(
key):Promise<RateLimitResult>
Checks whether the given key is within the rate limit.
Parameters
key
string
Returns
Promise<RateLimitResult>
reset()?
optionalreset():void
Clears cached bucket state (for testing and isolation).
Returns
void