ktor
2.2.4
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
ktor-server-rate-limit
/
io.ktor.server.plugins.ratelimit
/
RateLimitConfig
/
register
register
fun
register
(
name
:
RateLimitName
=
LIMITER_NAME_EMPTY
,
block
:
RateLimitProviderConfig
.
(
)
->
Unit
)
Registers the Rate-Limit provider that can be used in sub-routes via the Route.rateLimit function.