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.
tree: 4c10307165853d53431c59afc95f7089aa2d2dd2
  1. .gemini/
  2. .github/
  3. pkgs/
  4. tool/
  5. .gitattributes
  6. .gitignore
  7. analysis_options.yaml
  8. CONTRIBUTING.md
  9. LICENSE
  10. mono_repo.yaml
  11. README.md
README.md

Build Status

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.

Packages

PackageDescriptionVersion
cronet_httpAn Android Flutter plugin that provides access to the Cronet HTTP client.pub package
cupertino_httpA macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System.pub package
flutter_http_exampleDemonstrates how to use package:http in a Flutter app.—
httpA composable, multi-platform, Future-based API for HTTP requests.pub package
http2A HTTP/2 implementation in Dart.pub package
http_client_conformance_testsA library that tests whether implementations of package:http's Client class behave as expected.—
http_multi_serverA dart:io HttpServer wrapper that handles requests from multiple servers.pub package
http_parserA platform-independent package for parsing and serializing HTTP formats.pub package
http_profileA library used by HTTP client authors to integrate with the DevTools Network View.pub package
ok_httpAn Android Flutter plugin that provides access to the OkHttp HTTP client.pub package
web_socketAny easy-to-use library for communicating with WebSockets that has multiple implementations.pub package
web_socket_channelA WebSocket API that enables cross-platform communication via StreamChannel.pub package
web_socket_conformance_testsA library that tests whether implementations of package:web_socket's WebSocket class behave as expected.—

Contributing

If you'd like to contribute to any of these packages, see the Contributing Guide.