George Barnett 3713967b74 Regenerate protos (#2039) 1 năm trước cách đây
..
Client 431d8078ca Move examples to top-level (#2024) 1 năm trước cách đây
Model 3713967b74 Regenerate protos (#2039) 1 năm trước cách đây
Server 431d8078ca Move examples to top-level (#2024) 1 năm trước cách đây
README.md 431d8078ca Move examples to top-level (#2024) 1 năm trước cách đây
route_guide_db.json 431d8078ca Move examples to top-level (#2024) 1 năm trước cách đây

README.md

Route Guide - A sample gRPC Application

This directory contains the source and generated code for the gRPC "Route Guide" example.

The tutorial relating to this example can be found in grpc-swift/docs/basic-tutorial.md.

Running

To start the server, from the root of this package run:

$ swift run RouteGuideServer

From another terminal, run the client:

$ swift run RouteGuideClient

Regenerating client and server code

For simplicity, a shell script (grpc-swift/Protos/generate.sh) is provided to generate client and server code:

$ Protos/generate.sh