limit

fun limit(name: String, requests: Int, per: Duration, algorithm: RateLimitAlgorithm = RateLimitAlgorithm.FixedWindow, key: suspend (ApplicationCall) -> Any? = null)(source)