You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-11Lines changed: 7 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,16 @@ A fork of [dart-lang/http](https://github.com/dart-lang/http) with support for r
5
5
6
6
## Packages
7
7
8
-
Although this fork contains all of the packages from the source repo, currently only the `http` package has been updated with full support for cancellation.
8
+
Although this fork contains all of the packages from the source repo, only the following packages have been updated with cancellation:
9
9
10
10
| Package | Description | Version |
11
11
|---|---|---|
12
12
|[cancellation_token_http](pkgs/http/)| A composable, multi-platform, Future-based API for HTTP requests. |[](https://pub.dev/packages/cancellation_token_http)|
13
-
|[http_client_conformance_tests](pkgs/http_client_conformance_tests/)| A library that tests whether implementations of package:http's `Client` class behave as expected. ||
14
-
|[cronet_http](pkgs/cronet_http/)| An Android Flutter plugin that provides access to the [Cronet](https://developer.android.com/guide/topics/connectivity/cronet/reference/org/chromium/net/package-summary) HTTP client. |[](https://pub.dev/packages/cronet_http)|
15
-
|[cupertino_http](pkgs/cupertino_http/)| A macOS/iOS Flutter plugin that provides access to the [Foundation URL Loading System](https://developer.apple.com/documentation/foundation/url_loading_system). |[](https://pub.dev/packages/cupertino_http)|
16
-
|[http_profile](pkgs/http_profile/)| A library used by HTTP client authors to integrate with the DevTools Network View. |[](https://pub.dev/packages/http_profile)|
17
-
|[web_socket_conformance_tests](pkgs/web_socket_conformance_tests/)| A library that tests whether implementations of `package:web_socket`'s `WebSocket` class behave as expected. ||
18
-
|[web_socket](pkgs/web_socket/)| Any easy-to-use library for communicating with WebSockets that has multiple implementations. |[](https://pub.dev/packages/web_socket)|
19
-
|[flutter_http_example](pkgs/flutter_http_example/)| An Flutter app that demonstrates how to configure and use `package:http`. | — |
13
+
|[cancellation_token_http_client_conformance_tests](pkgs/http_client_conformance_tests/)| A library that tests whether implementations of package:cancellation_token_http's `Client` class behave as expected. ||
20
14
21
-
## Contributing
15
+
## Testing
22
16
23
-
If you'd like to contribute to any of these packages, see the
24
-
[Contributing Guide](CONTRIBUTING.md).
17
+
If you get the following error when running tests, make sure you use `dart test` instead of `flutter test`:
18
+
```
19
+
IsolateSpawnException: Unable to spawn isolate: Error: Couldn't resolve the package 'cancellation_token_http' in 'package:cancellation_token_http/http.dart'.
0 commit comments