grpc-dart/examples/route_guide
Jakob Andersen bf8fb94353 Initial import. (#2)
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.
2017-06-28 14:53:42 +02:00
..
bin Initial import. (#2) 2017-06-28 14:53:42 +02:00
data Initial import. (#2) 2017-06-28 14:53:42 +02:00
lib/src Initial import. (#2) 2017-06-28 14:53:42 +02:00
protos Initial import. (#2) 2017-06-28 14:53:42 +02:00
README.md Initial import. (#2) 2017-06-28 14:53:42 +02:00
pubspec.yaml Initial import. (#2) 2017-06-28 14:53:42 +02:00

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