ktor-svelte
Toggle table of contents
1.4.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
ktor-svelte
ktor-svelte-server
/
io.github.nijasc.ktor.svelte
/
SvelteRateLimitConfig
Svelte
Rate
Limit
Config
class
SvelteRateLimitConfig
(
source
)
Members
Properties
algorithm
Link copied to clipboard
var
algorithm
:
RateLimitAlgorithm
api
Writes
Link copied to clipboard
var
apiWrites
:
Int
enabled
Link copied to clipboard
var
enabled
:
Boolean
period
Link copied to clipboard
var
period
:
Duration
Functions
key
Link copied to clipboard
fun
key
(
key
:
suspend
(
ApplicationCall
)
->
Any
)
limit
Link copied to clipboard
fun
limit
(
name
:
String
,
requests
:
Int
,
per
:
Duration
,
algorithm
:
RateLimitAlgorithm
=
RateLimitAlgorithm.FixedWindow
,
key
:
suspend
(
ApplicationCall
)
->
Any
?
=
null
)