Update dependencies; drop Android 4.x support (#6742)

This commit is contained in:
arkon
2021-04-28 15:38:05 -04:00
committed by GitHub
parent 4c08f48fc7
commit 50bf2a56e5
199 changed files with 792 additions and 2116 deletions

View File

@@ -11,8 +11,8 @@ import java.util.concurrent.TimeUnit
*
* Examples:
*
* httpUrl = Httpurl.parse("api.manga.com"), permits = 5, period = 1, unit = seconds => 5 requests per second to api.manga.com
* httpUrl = Httpurl.parse("imagecdn.manga.com"), permits = 10, period = 2, unit = minutes => 10 requests per 2 minutes to imagecdn.manga.com
* httpUrl = "api.manga.com".toHttpUrlOrNull(), permits = 5, period = 1, unit = seconds => 5 requests per second to api.manga.com
* httpUrl = "imagecdn.manga.com".toHttpUrlOrNull(), permits = 10, period = 2, unit = minutes => 10 requests per 2 minutes to imagecdn.manga.com
*
* @param httpUrl {HttpUrl} The url host that this interceptor should handle. Will get url's host by using HttpUrl.host()
* @param permits {Int} Number of requests allowed within a period of units.