RedisRateLimitStore.prototype.increment(key: string,windowMs: number): Promise<RateLimitResult>
Increment the counter for the given key within its window. Creates the window if it does not exist.
Promise<RateLimitResult>
RedisRateLimitStore.prototype.increment(key: string,windowMs: number): Promise<RateLimitResult>
Increment the counter for the given key within its window. Creates the window if it does not exist.
Promise<RateLimitResult>
import { RedisRateLimitStore } from "auth-plugin/src/index.ts";