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. [...]
read-only, inherited
request → _HttpRequest
The request that was rate limited.
final
response Response
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.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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