dart-lang / http

A composable API for making HTTP requests in Dart.
https://pub.dev/packages/http
BSD 3-Clause "New" or "Revised" License
1.03k stars 358 forks source link

Add a `http.Client` compatible client #1385

Open escamoteur opened 4 months ago

escamoteur commented 4 months ago

With the introduction of the cupertino_http and cronet_http only Windows and Linux Dart and Flutter apps can't use the benefits of HTTP2 while staying compatible with he abstract http.Client interface. So it would be nice if this was added to this package.

brianquinlan commented 1 month ago

Maybe it would make sense for someone to update package:flutter_curl (or create a new curl-based package) to support the package:http Client interface?

Or use package:rhttp.