2.0.0-beta.6
Pre-release
Pre-release
What's Changed
- ✨ Added:
Future<bool> shouldInterceptRequest()andFuture<bool> shouldInterceptResponse(). This enables individual interceptor checks and conditional intercepting configurations. - ✨ Added:
bodyBytestoRequest.copyWith. This adds support to set and modify the body as a stream of bytes. - ❗️🛠 Changed:
RetryPolicyto beFuture<bool>instead ofboolso that you can support different exception retrying scenarios (See #115). - 📖 Changed: example project to showcase updated Flutter 3.0, new library APIs and
MultipartRequesthandling.
Full Changelog: 2.0.0-beta.5...2.0.0-beta.6