mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions.git
synced 2025-12-10 07:52:02 +01:00
Refactor to use app-provided rate limiting interceptors (#12088)
This commit is contained in:
@@ -135,16 +135,6 @@ The extension's version name is generated automatically by concatenating `libVer
|
||||
|
||||
Extensions rely on [extensions-lib](https://github.com/tachiyomiorg/extensions-lib), which provides some interfaces and stubs from the [app](https://github.com/tachiyomiorg/tachiyomi) for compilation purposes. The actual implementations can be found [here](https://github.com/tachiyomiorg/tachiyomi/tree/master/app/src/main/java/eu/kanade/tachiyomi/source). Referencing the actual implementation will help with understanding extensions' call flow.
|
||||
|
||||
#### Rate limiting library
|
||||
|
||||
[`lib-ratelimit`](https://github.com/tachiyomiorg/tachiyomi-extensions/tree/master/lib/ratelimit) is a library for adding rate limiting functionality as an [OkHttp interceptor](https://square.github.io/okhttp/interceptors/).
|
||||
|
||||
```gradle
|
||||
dependencies {
|
||||
implementation(project(':lib-ratelimit'))
|
||||
}
|
||||
```
|
||||
|
||||
#### DataImage library
|
||||
|
||||
[`lib-dataimage`](https://github.com/tachiyomiorg/tachiyomi-extensions/tree/master/lib/dataimage) is a library for handling [base 64 encoded image data](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) using an [OkHttp interceptor](https://square.github.io/okhttp/interceptors/).
|
||||
|
||||
Reference in New Issue
Block a user