DefaultRateLimiter

constructor(scope: RateLimitScope, bucketFactory: BucketFactory, deleteOnRefill: Boolean = true)(source)

Parameters

scope

Scope of the rate limit, see RateLimitScope values.

deleteOnRefill

Whether the rate limit message should be deleted after the refill delay.