wsgrpc 2.0.3
wsgrpc: ^2.0.3 copied to clipboard

A dart client for wsgrpc. Using Websocket as transport of grpc will make client stream and server stream call available for browser scripts.

0
likes
110 / 130
pub points
5 %
popularity

We analyzed this package on Jul 28, 2021, and awarded it 110 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

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

  • 13 out of 93 API elements (14.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:wsgrpc/wsgrpc.dart that imports:
  • package:wsgrpc/src/client/ws_channel.dart that imports:
  • package:wsgrpc/src/client/ws_connection.dart that imports:
  • package:wsgrpc/src/client/ws_stream.dart that imports:
  • package:grpc/grpc_connection_interface.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:http2/transport.dart that imports:
  • package:http2/src/hpack/hpack.dart that imports:
  • package:http2/src/hpack/huffman_table.dart that imports:
  • package:http2/src/hpack/huffman.dart that imports:
  • dart:io
Pass static analysis
30 / 30

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
grpc^3.0.03.0.03.0.0
http2^2.0.02.0.02.0.0
protobuf^2.0.02.0.02.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
archive-3.1.23.1.2
async-2.8.12.8.1
charcode-1.3.11.3.1
collection-1.15.01.15.0
crypto-3.0.13.0.1
fixnum-1.0.01.0.0
googleapis_auth-1.1.01.1.0
http-0.13.30.13.3
http_parser-4.0.04.0.0
meta-1.7.01.7.0
path-1.8.01.8.0
source_span-1.8.11.8.1
string_scanner-1.1.01.1.0
term_glyph-1.2.01.2.0
typed_data-1.3.01.3.0

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

Support sound null safety
20 / 20

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

Analysed with Pana 0.19.0, Dart 2.13.4.

0
likes
110
pub points
5%
popularity

A dart client for wsgrpc. Using Websocket as transport of grpc will make client stream and server stream call available for browser scripts.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

grpc, http2, protobuf

More

Packages that depend on wsgrpc