API Reference / modelence / server / RateLimitRule
RateLimitRule =
object
Defined in: src/rate-limit/types.ts:3
Property | Type | Description | Defined in |
---|---|---|---|
bucket | string | Logical action being limited, e.g. “signup” | src/rate-limit/types.ts:5 |
limit | number | Maximum allowed hits within the window | src/rate-limit/types.ts:14 |
type | RateLimitType | Identifier type of the actor this rule applies to | src/rate-limit/types.ts:8 |
window | number | Time window size in milliseconds | src/rate-limit/types.ts:11 |
API Reference / modelence / server / RateLimitRule
RateLimitRule =
object
Defined in: src/rate-limit/types.ts:3
Property | Type | Description | Defined in |
---|---|---|---|
bucket | string | Logical action being limited, e.g. “signup” | src/rate-limit/types.ts:5 |
limit | number | Maximum allowed hits within the window | src/rate-limit/types.ts:14 |
type | RateLimitType | Identifier type of the actor this rule applies to | src/rate-limit/types.ts:8 |
window | number | Time window size in milliseconds | src/rate-limit/types.ts:11 |