RateLimitConfig

A config for the RateLimit plugin.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Registers the Rate-Limit provider that is applied to a whole application.

Link copied to clipboard
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.