Package | Description |
---|---|
net.rithms.riot.api.request |
This package contains the classes and interfaces that are used to send requests to the Riot Api and parse the responses.
|
net.rithms.riot.api.request.ratelimit |
This package contains the classes that are used by requests internally to automatically handle rate limit
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Request.getDto()
Retrieves the result of the request.
|
Constructor and Description |
---|
Request(ApiConfig config,
ApiMethod object)
Constructs a synchronous request
|
Modifier and Type | Class and Description |
---|---|
class |
RespectedRateLimitException
Thrown when the
RateLimitHandler decides to drop a request instead of sending it to the Riot API to prevent violating the rate
limit. |