Skip to content
English

RateLimitContext

RateLimitContext = object

Defined in: src/http/cache/RateLimitOptions.ts:13

Context handed to a custom RateLimitOptionsType.onLimit builder.

readonly count: number

Defined in: src/http/cache/RateLimitOptions.ts:15


readonly key: string

Defined in: src/http/cache/RateLimitOptions.ts:14


readonly max: number

Defined in: src/http/cache/RateLimitOptions.ts:16


readonly retryAfterSeconds: number

Defined in: src/http/cache/RateLimitOptions.ts:18


readonly windowMs: number

Defined in: src/http/cache/RateLimitOptions.ts:17