RateLimits

annotation class RateLimits(val period: Long = 0, val rate: Long = 0)

Annotation to define query limits for specific actions.

Properties

Link copied to clipboard
val period: Long = 0

The period for which the requests will be counted. (in milliseconds)

Link copied to clipboard
val rate: Long = 0

The number of requests for a certain period.