cancellation_token_http 2.0.0 copy "cancellation_token_http: ^2.0.0" to clipboard
cancellation_token_http: ^2.0.0 copied to clipboard

A fork of Dart's HTTP package with request cancellation using cancellation_token.

11
likes
160/ 160
pub points
89%
popularity

We analyzed this package 4 days ago, and awarded it 160 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

127 out of 138 API elements (92.0 %) have documentation comments.

Some symbols that are missing documentation: browser_client, http.BaseRequest.headers, http.BaseResponse.headers, http.BaseResponse.isRedirect, http.ByteStream.toStringStream.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Android

Because:

  • package:cancellation_token_http/browser_client.dart that imports:
  • package:cancellation_token_http/src/browser_client.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:cancellation_token_http/browser_client.dart that imports:
  • package:cancellation_token_http/src/browser_client.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:cancellation_token_http/browser_client.dart that imports:
  • package:cancellation_token_http/src/browser_client.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:cancellation_token_http/browser_client.dart that imports:
  • package:cancellation_token_http/src/browser_client.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:cancellation_token_http/browser_client.dart that imports:
  • package:cancellation_token_http/src/browser_client.dart that imports:
  • dart:html
Package not compatible with platform Web

Because:

  • package:cancellation_token_http/io_client.dart that imports:
  • package:cancellation_token_http/src/io_streamed_response.dart that imports:
  • dart:io
OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
async ^2.5.0 2.11.0 2.11.0
cancellation_token ^2.0.0 2.0.1 2.0.1
http_parser ^4.0.0 4.0.2 4.0.2
meta ^1.3.0 1.15.0 1.15.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.5, Dart 3.4.1.

Check the analysis log for details.

11
likes
160
pub points
89%
popularity

Publisher

verified publisherjonathancole.dev

A fork of Dart's HTTP package with request cancellation using cancellation_token.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, cancellation_token, http_parser, meta

More

Packages that depend on cancellation_token_http