API Reference / modelence / server / RateLimitRule

RateLimitRule = object

Defined in: src/rate-limit/types.ts:3

Properties

PropertyTypeDescriptionDefined in
bucketstringLogical action being limited, e.g. “signup”src/rate-limit/types.ts:5
limitnumberMaximum allowed hits within the windowsrc/rate-limit/types.ts:14
typeRateLimitTypeIdentifier type of the actor this rule applies tosrc/rate-limit/types.ts:8
windownumberTime window size in millisecondssrc/rate-limit/types.ts:11

API Reference / modelence / server / RateLimitRule

RateLimitRule = object

Defined in: src/rate-limit/types.ts:3

Properties

PropertyTypeDescriptionDefined in
bucketstringLogical action being limited, e.g. “signup”src/rate-limit/types.ts:5
limitnumberMaximum allowed hits within the windowsrc/rate-limit/types.ts:14
typeRateLimitTypeIdentifier type of the actor this rule applies tosrc/rate-limit/types.ts:8
windownumberTime window size in millisecondssrc/rate-limit/types.ts:11