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.02k stars 354 forks source link

Add a `http.Client` compatible client #1385

Open escamoteur opened 3 months ago

escamoteur commented 3 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 week 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.