https://github.com/kaboc/dart_grpc_examples
Simple examples of gRPC in dart
https://github.com/kaboc/dart_grpc_examples
dart examples grpc grpc-dart
Last synced: 2 months ago
JSON representation
Simple examples of gRPC in dart
- Host: GitHub
- URL: https://github.com/kaboc/dart_grpc_examples
- Owner: kaboc
- License: mit
- Created: 2019-12-14T10:44:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-19T12:13:06.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T03:41:22.687Z (3 months ago)
- Topics: dart, examples, grpc, grpc-dart
- Language: Dart
- Homepage:
- Size: 253 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple examples of how to use [grpc-dart](https://github.com/grpc/grpc-dart)
* [unary_greet](./unary_greet)
* An example of Unary RPCs similar to the official [helloworld](https://github.com/grpc/grpc-dart/tree/master/example/helloworld) but with more info exchanged
* [bidi_calc](./bidi_calc)
* An example of Bidirectional streaming RPCs
* [bidi_chat](./bidi_chat)
* An example of broadcast from a server to multiple clients by Bidirectional streaming RPCs
* A nickname needs to be provided when you run bin/client.dart.
* [web](./web)
* An example of unary_greet using gRPC-Web via grpc-dart.
* A proxy to a server is necessary. See [README](./web/README.md) of the sample.
## Related articles
* [DartでgRPCを使う](https://qiita.com/kabochapo/items/6848457ea7a966baf957)
* Refer to this post for detailed explanations (Japanese).