RateLimiting

Types

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)
Link copied to clipboard
data object Apis

Functions

Link copied to clipboard
suspend fun <T> execute(block: suspend () -> Pair<HttpResponse?, T>): T