RateConfig

Rate configuration for a metric (requests or tokens)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Time period for rate limiting

Link copied to clipboard

The rate value for the limit. For request limits, this is the number of requests allowed per period. For token limits, this is the number of tokens allowed per period. For connection limits, this is the number of concurrent connections allowed.

Functions

Link copied to clipboard
inline fun copy(block: RateConfig.Builder.() -> Unit = {}): RateConfig
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String