Ir al contenido
Español

RateLimitContext

Esta página aún no está disponible en tu idioma.

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