Configuration for rate limiting

interface RateLimitConfig {
    maxRequests: number;
    windowMs: number;
    keyPrefix?: string;
}

Properties

maxRequests: number

Maximum number of requests allowed in the time window

windowMs: number

Time window in milliseconds

keyPrefix?: string

Optional key prefix for namespacing