Skip to content

Commit

Permalink
Merge branch 'master' into cronet_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan authored Nov 2, 2023
2 parents e1c4d6e + f953aec commit 168a284
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pkgs/cronet_http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Require `package:jni >= 0.7.1` so that depending on `package:cronet_http`
does not break macOS builds.

* Fix obsolete `CronetClient()` constructor usage.

## 0.4.0

* Use more efficient operations when copying bytes between Java and Dart.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cronet_http/lib/cronet_http.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// import 'package:cronet_http/cronet_http.dart';
///
/// void main() async {
/// var client = CronetClient();
/// var client = CronetClient.defaultCronetEngine();
/// final response = await client.get(
/// Uri.https('www.googleapis.com', '/books/v1/volumes', {'q': '{http}'}));
/// if (response.statusCode != 200) {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cronet_http/lib/src/cronet_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ jb.UrlRequestCallbackProxy_UrlRequestCallbackInterface _urlRequestCallbacks(
/// For example:
/// ```
/// void main() async {
/// var client = CronetClient();
/// var client = CronetClient.defaultCronetEngine();
/// final response = await client.get(
/// Uri.https('www.googleapis.com', '/books/v1/volumes', {'q': '{http}'}));
/// if (response.statusCode != 200) {
Expand Down

0 comments on commit 168a284

Please sign in to comment.