Ktor
Toggle table of contents
3.2.x
Select version
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
common
Platform filter
common
Switch theme
Search in API
Ktor
ktor-server-rate-limit
/
io.ktor.server.plugins.ratelimit
/
RateLimiter
/
State
/
Available
Available
class
Available
(
val
remainingTokens
:
Int
,
val
limit
:
Int
,
val
refillAtTimeMillis
:
Long
)
:
RateLimiter.State
(
source
)
Rate limiter has enough tokens.
Report a problem
Members
Constructors
Available
Link copied to clipboard
constructor
(
remainingTokens
:
Int
,
limit
:
Int
,
refillAtTimeMillis
:
Long
)
Properties
limit
Link copied to clipboard
val
limit
:
Int
refill
At
Time
Millis
Link copied to clipboard
val
refillAtTimeMillis
:
Long
remaining
Tokens
Link copied to clipboard
val
remainingTokens
:
Int