Merge upstream/master into stream-request-cronet (PR #1941)
Resolutions in pkgs/cronet_http:
- cronet_client.dart: both sides added `import 'dart:typed_data'`; keep
the PR's `dart:math` import as well.
- CHANGELOG.md / pubspec.yaml: 1.10.0 and 1.10.1 have been published from
master, so move this PR's entries into a new `1.11.0-wip` section and
bump the version to `1.11.0-wip`. (git auto-merged the entries into the
already-released 1.10.0 section and left the version at 1.10.1.)
- jni_bindings.dart: regenerated with `dart run tool/jnigen.dart` using
master's jnigen 1.0.1 / jni 1.1.0, as the CI "jnigen" job does. This:
- restores `jni$_.JClass` for `URL.getContent` and drops the `Class`
stub; the PR's bindings were generated with jni 1.0.0, whose
jni_symbols.yaml does not map java.lang.Class.
- uses the generator's parameter names (`j`,
`uploadDataProviderInterface`) for the `UploadDataProviderProxy`
constructor, consistent with `UrlRequestCallbackProxy`. The call site
is positional, so no other changes are needed.
A composable, Future-based library for making HTTP requests.
package:http contains a set of high-level functions and classes that make it easy to consume HTTP resources. It's multi-platform, and supports mobile, desktop, and the browser.
| Package | Description | Version |
|---|---|---|
| cronet_http | An Android Flutter plugin that provides access to the Cronet HTTP client. | |
| cupertino_http | A macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System. | |
| flutter_http_example | Demonstrates how to use package:http in a Flutter app. | — |
| http | A composable, multi-platform, Future-based API for HTTP requests. | |
| http2 | A HTTP/2 implementation in Dart. | |
| http_client_conformance_tests | A library that tests whether implementations of package:http's Client class behave as expected. | — |
| http_multi_server | A dart:io HttpServer wrapper that handles requests from multiple servers. | |
| http_parser | A platform-independent package for parsing and serializing HTTP formats. | |
| http_profile | A library used by HTTP client authors to integrate with the DevTools Network View. | |
| ok_http | An Android Flutter plugin that provides access to the OkHttp HTTP client. | |
| web_socket | Any easy-to-use library for communicating with WebSockets that has multiple implementations. | |
| web_socket_channel | A WebSocket API that enables cross-platform communication via StreamChannel. | |
| web_socket_conformance_tests | A library that tests whether implementations of package:web_socket's WebSocket class behave as expected. | — |
If you'd like to contribute to any of these packages, see the Contributing Guide.