RateLimitExceededEvent

Emitted via EventHandler.onEvent when a network request receives 429 HTTP status code (rate limit exceeded). See Rate Limits Overview for additional details.

The default implementation retries the request 3 times, with a minimum delay of 1 seconds between each request. See maxRetries and minDelaySeconds

Properties

Link copied to clipboard

Allows the app developer to change how many times, at most, request should be retried when a 429 status code is received.

Link copied to clipboard

Allows the app developer to change the minimum amount of time, in seconds, to wait before retrying request when a 429 status code is received.

Link copied to clipboard
val request: Request

The Request that caused the event.

Link copied to clipboard
val response: Response

The Response with 429 HTTP status code.

Link copied to clipboard

Number of retry attempts for request so far.