RequestResponse

Types

Link copied to clipboard
data class Accepted(val bucketKey: BucketKey?, val rateLimit: RateLimit?, val reset: Reset) : RequestResponse

The request returned a response without errors.

Link copied to clipboard
data class BucketRateLimit(val bucketKey: BucketKey, val rateLimit: RateLimit?, val reset: Reset) : RequestResponse

The request returned a bucket rate limit error.

Link copied to clipboard
object Companion
Link copied to clipboard

The request returned a non-rate limit error code.

Link copied to clipboard
data class GlobalRateLimit(val bucketKey: BucketKey?, val rateLimit: RateLimit?, val reset: Reset) : RequestResponse

The request returned a global rate limit error.

Properties

Link copied to clipboard
abstract val bucketKey: BucketKey?
Link copied to clipboard
abstract val rateLimit: RateLimit?
Link copied to clipboard
abstract val reset: Reset?