Releases: haroldadmin/NetworkResponseAdapter
Releases · haroldadmin/NetworkResponseAdapter
Version 2.1.0
- Upgrade Kotlin to 1.3.41
- Upgrade Coroutines to 1.3.0-RC
- Upgrade to OkHTTP 4 and Retrofit 2.6.0
- Null response codes in HttpExceptions are now returned as code 520
Version 2.0.2
New:
- Add overloaded invoke operator on
NetworkResponse
class
Fixes:
- Fix null headers when server response body is empty.
Release 2.0.1
New features:
- Added overloaded
invoke
operator function theNetworkRespons
class
V2.0
This release adds support for response headers in the NetworkResponse
class. A new executeWithRetry
method has also been added which automatically retries the network requests in case they result in NetworkResponse.NetworkError
. You can customize the number of retries, and exponential delay parameters too.
-
New Features:
- Headers support
- ExecuteWithRetry utility function
-
Fixes
- Fixed retrofit executor used in tests
Initial release
The first public release of this library