public interface RateLimitStatusListener
Modifier and Type | Method and Description |
---|---|
void |
onRateLimitReached(RateLimitStatusEvent event)
Called when the account or IP address is hitting the rate limit.
onRateLimitStatus will be also called before this event. |
void |
onRateLimitStatus(RateLimitStatusEvent event)
Called when the response contains rate limit status.
|
void onRateLimitStatus(RateLimitStatusEvent event)
event
- rate limit status event.void onRateLimitReached(RateLimitStatusEvent event)
event
- rate limit status event.