TrpcRateLimitRule
A fixed-window rule for rateLimited, keyed by the client IP unless keyBy says user.
Extends
Section titled “Extends”RateLimitRule
Properties
Section titled “Properties”keyBy?
Section titled “keyBy?”
readonlyoptionalkeyBy?:RateLimitKeyBy
Default ip.
readonlylimit:number
Inherited from
Section titled “Inherited from”RateLimitRule.limit
window
Section titled “window”
readonlywindow:Duration
Inherited from
Section titled “Inherited from”RateLimitRule.window