See the Dart gRPC Quickstart.
This package is currently in beta: It is available for general usage, and is considered feature complete.
If you experience issues, or if you have feature requests, please open an issue.
This library requires Dart SDK version 2.0 or later.
shutdown()on a channel doesn't throw error if the channel is not yet open.
StatusCodeconst rather than final.
The API is shaping up, but may still change as more advanced features are implemented.
This package is in a very early and experimental state. We do not recommend using it for anything but experiments.
Add this to your package's pubspec.yaml file:
dependencies: grpc: ^0.6.8+1
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.6.8+1||Dec 13, 2018|
|0.6.8||Nov 12, 2018|
|0.6.6||Oct 24, 2018|
|0.6.5||Sep 18, 2018|
|0.6.4||Sep 7, 2018|
|0.6.1||Jul 19, 2018|
|0.6.0+1||Jul 13, 2018|
|0.6.0||Jul 12, 2018|
|0.5.0||Jul 10, 2018|
|0.4.1||Apr 5, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Dec 13, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter, other
lib/src/client/options.dart. (-1 points)
lib/src/client/options.dart reported 2 hints:
line 28 col 7: The top level variable '_minConnectTimeout' isn't used.
line 85 col 25: 'alpnSupported' is deprecated and shouldn't be used.
lib/src/shared/security.dart. (-0.50 points)
lib/src/shared/security.dart reported 1 hint:
line 23 col 21: 'alpnSupported' is deprecated and shouldn't be used.
The description is too short. (-20 points)
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Maintain an example.
None of the files in your
example/ directory matches a known example patterns. Common file name patterns include:
example.dart or you could also use
grpc.dart. Packages with multiple examples should use
|Dart SDK||>=2.0.0 <3.0.0|