mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions.git
synced 2025-12-10 10:02:01 +01:00
Update dependencies; drop Android 4.x support (#6742)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user