nitro_http 0.0.5
nitro_http: ^0.0.5 copied to clipboard
A fast HTTP client for Flutter backed by a native libcurl C++ engine over Nitro FFI, with HTTP/1.1, HTTP/2, HTTP/3, streaming and WebSockets.
We analyzed this package 4 days ago, and awarded it 110 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
620 out of 659 API elements (94.1 %) have documentation comments.
Some symbols that are missing documentation: nitro_http.BinaryDataReceived.BinaryDataReceived.new, nitro_http.BinaryDataReceived.data, nitro_http.CancelToken.CancelToken.new, nitro_http.ClientSettings, nitro_http.CloseReceived.CloseReceived.new.
10/10 points: Package has an example
10/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 does not support platform `Web`.
Because:
package:nitro_http/nitro_http.dartthat imports:package:nitro_http/src/compat/http_compat.dartthat imports:package:nitro_http/src/api/client.dartthat imports:package:nitro_http/src/internal/request_runner.dartthat imports:package:nitro_http/src/internal/raw_mapping.dartthat imports:package:nitro_http/src/nitro_http.native.dartthat imports:package:nitro_http/src/nitro_http.platform.g.dartthat imports:package:nitro_http/src/generated/web/nitro_http.web.bridge.g.dartthat imports:package:nitro/web_bridge.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:nitro_http/nitro_http.dartthat imports:package:nitro_http/src/compat/http_compat.dartthat imports:package:nitro_http/src/api/request.dartthat imports:package:nitro_http/src/api/body.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: The asset directory 'assets/web/' doesn't exist.
pubspec.yaml:76:7
╷
76 │ - assets/web/
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze pubspec.yaml
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.7.0 |
5.11.1 | 5.11.1 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
nitro |
^0.7.5 |
0.7.5 | 0.7.5 | |
web |
^1.1.0 |
1.1.1 | 1.1.1 | |
web_socket |
^1.0.0 |
1.0.1 | 1.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
nitro_annotations |
- | 0.7.5 | 0.7.5 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
UNDEFINED_CLASS-lib/src/compat/http_compat.dart:104:22- Undefined class 'Abortable'.UNDEFINED_FUNCTION-lib/src/compat/http_compat.dart:127:18- The function 'RequestAbortedException' isn't defined.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.