跳转到内容
简体中文

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