This repository has been archived by the owner on Jul 29, 2022. It is now read-only.
2.0.0
Take a look at the migration guide
Added
HttpFetcher
is a new publication fetcher able to serve remote resources through HTTP.- The actual HTTP requests are performed with an instance of
HttpClient
.
- The actual HTTP requests are performed with an instance of
HttpClient
is a new protocol exposing a high level API to perform HTTP requests.DefaultHttpClient
is an implementation ofHttpClient
using standardHttpURLConnection
APIs. You can useDefaultHttpClient.Callback
to customize how requests are created and even recover from errors, e.g. to implement Authentication for OPDS.- You can provide your own implementation of
HttpClient
to Readium APIs if you prefer to use a third-party networking library.