dio_http2_adapter 2.0.0 icon indicating copy to clipboard operation
dio_http2_adapter: ^2.0.0 copied to clipboard

A Dio HttpClientAdapter which support Http/2.0(Support connection reuse, header compression, server pushing is not supported yet.)

14
likes
130/ 140
pub points
94%
popularity

We analyzed this package 5 hours ago, and awarded it 130 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger 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: MIT.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 8 out of 16 API elements (50.0 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:dio_http2_adapter/dio_http2_adapter.dart that imports:
  • package:dio_http2_adapter/src/http2_adapter.dart that imports:
  • package:http2/http2.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: Prefer typing uninitialized variables and fields.

lib/src/connection_manager_imp.dart:68:9

   ╷
68 │     var socket;
   │         ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/connection_manager_imp.dart

INFO: Prefer typing uninitialized variables and fields.

lib/src/http2_adapter.dart:73:9

   ╷
73 │     var list;
   │         ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/http2_adapter.dart

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
dio^4.0.04.0.64.0.6
http2^2.0.02.0.12.0.1
Transitive dependencies
PackageConstraintCompatibleLatest
collection-1.17.01.17.0
http_parser-4.0.24.0.2
path-1.8.31.8.3
source_span-1.9.11.9.1
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.21, Dart 2.18.4.

14
likes
130
pub points
94%
popularity

Publisher

verified publisher iconflutterchina.club

A Dio HttpClientAdapter which support Http/2.0(Support connection reuse, header compression, server pushing is not supported yet.)

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

dio, http2

More

Packages that depend on dio_http2_adapter