RatelimitEvent class

Sent when the client is rate limit ed, either by the rate limit handler itself, or when a 429 is received.

Properties

handled bool
True if rate limit handler stopped the request False if the client received a 429
final
hashCode int
The hash code for this object.
no setterinherited
request → _HttpRequest
The request that was rate limited.
final
response → BaseResponse?
The error response received if the rate limit handler did not stop the request (aka hit 429)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited