mirror of https://github.com/grpc/grpc-dart.git
What works: * Client and server can talk to each other, all 4 RPC variants. * Client can talk to Go gRPC server. What (probably) doesn't work: * Anything else. |
||
|---|---|---|
| .. | ||
| bin | ||
| data | ||
| lib/src | ||
| protos | ||
| README.md | ||
| pubspec.yaml | ||
README.md
Description
The route guide server and client demonstrate how to use Dart gRPC libraries to perform unary, client streaming, server streaming and full duplex RPCs.
Please refer to gRPC Basics: Dart for more information.
See the definition of the route guide service in protos/route_guide.proto.
Run the sample code
To compile and run the examples, assuming you are in the root of the route_guide folder, i.e., .../examples/route_guide/, first get the dependencies by running:
$ pub get
Then, to run the server:
$ dart bin/server.dart
Likewise, to run the client:
$ dart bin/client.dart