cronet_http 1.3.4
cronet_http: ^1.3.4 copied to clipboard
An Android Flutter plugin that provides access to the Cronet HTTP client.
1.3.4 #
- Cancel requests when the response stream is cancelled.
1.3.3 #
- Throw
ClientExceptionifCronetClient.sendruns out of Java heap while allocating memory for the request body. - Upgrade
package:jniandpackage:jnigento 0.12.0. - Use declarative style in Gradle plugins.
1.3.2 #
- Upgrade
package:jnito 0.10.1 andpackage:jnigento 0.10.0 to fix method calling bugs and a debug mode issue.
1.3.1 #
- Add relevant rules with the ProGuard to avoid runtime exceptions.
- Upgrade
package:jnigento 0.9.2 to fix a bug for 32-bit architectures.
1.3.0 #
- Add integration to the DevTools Network View.
1.2.1 #
- Upgrade
package:jnito 0.9.2 to fix the build error in the latest versions of Flutter. - Upgrade
package:jnigento 0.9.1 and regenerate the bindings to improve the efficiency of function calls.
1.2.0 #
- Support the Cronet embedding dependency with
--dart-define=cronetHttpNoPlay=true. - Fix a bug in the documentation where
isOwnedis used rather thancloseEngine. - Upgrade
package:jnito 0.7.3 to fix a SIGSEGV caused by a null pointer dereference.
1.1.1 #
- Make it possible to construct
CronetClientwith custom aCronetEnginewhile still allowingCronetClientto close theCronetEngine.
1.1.0 #
- Use
package:http_image_providerin the example application. - Support Android API 21+.
- Support
BaseResponseWithUrl.
1.0.0 #
- No functional changes.
0.4.2 #
- Require
package:jni >= 0.7.2to remove a potential buffer overflow. - Fix a bug where incorrect HTTP request methods were sent.
0.4.1 #
-
Require
package:jni >= 0.7.1so that depending onpackage:cronet_httpdoes not break macOS builds. -
Fix obsolete
CronetClient()constructor usage.
0.4.0 #
- Use more efficient operations when copying bytes between Java and Dart.
0.3.0-jni #
- Switch to using
package:jnigenfor bindings to Cronet - Support for running in background isolates.
- Breaking Change:
CronetEngine.build()returns aCronetEnginerather than aFuture<CronetEngine>andCronetClient.fromCronetEngineFuture()has been removed because it is no longer necessary.
0.2.2 #
- Require Dart 3.0
- Throw
ClientExceptionwhen the'Content-Length'header is invalid.
0.2.1 #
- Require Dart 2.19
- Support
package:http1.0.0
0.2.0 #
- Restructure
package:cronet_httpto offer apackage:cronet_http/cronet_http.dartimport.
0.1.2 #
- Fix a NPE that occurs when an error occurs before a response is received.
0.1.1 #
CronetClientthrows an exception ifsendis called afterclose.
0.1.0 #
- Add a CronetClient that accepts a
Future<CronetEngine>. - Modify the example application to create a
CronetClientusing aFuture<CronetEngine>.
0.0.4 #
- Fix a bug where the example would not use the configured
package:httpClientfor Books API calls in some circumstances. - Fix a bug where the images in the example would be loaded using
dart:ioHttpClient.
0.0.2 #
- Set
StreamedResponse.reasonPhraseandStreamedResponse.request.
0.0.1 #
- Initial development release.