basalt / http/src / RouteRateLimit
Interface: RouteRateLimit
Defined in: http/src/security.ts:197
Per-route rate-limit override, read from a route's meta.rateLimit. When set, that route gets its own bucket (keyed by key + route) at these thresholds instead of the global default — so login/reset can be stricter than the rest.
Properties
key?
> optional key?: RateLimitKey
Defined in: http/src/security.ts:201
Who the bucket belongs to. Default 'ip'. See RateLimitKey.
limit
> limit: number
Defined in: http/src/security.ts:198
windowMs
> windowMs: number
Defined in: http/src/security.ts:199