toggle menu
Anitraklib
0.1.10-alpha
common
switch theme
search in API
Anitraklib
/
io.github.vincentvibe3.anitraklib
/
RateLimiting
Rate
Limiting
object
RateLimiting
Members
Types
Api
Rate
Limit
Config
Link copied to clipboard
data
class
ApiRateLimitConfig
(
var
rateLimit
:
Int
,
var
remaining
:
Int
,
var
isRateLimited
:
Boolean
,
var
retryAfter
:
Long
,
var
reset
:
Long
,
val
rateLimitTimeWindow
:
Duration
)
Apis
Link copied to clipboard
data
object
Apis
Functions
execute
Link copied to clipboard
suspend
fun
<
T
>
execute
(
block
:
suspend
(
)
->
Pair
<
HttpResponse
?
,
T
>
)
:
T