public class RateLimitInterceptor
extends Object
implements okhttp3.Interceptor
| Constructor and Description |
|---|
RateLimitInterceptor(int maxRequestPerWindow,
int windowSeconds) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxRequestPerWindow() |
int |
getWindowSeconds() |
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |