Kristopher Wuollett 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) há 2 anos atrás
..
Client d2d60e6e79 Drop support for Swift 5.5 (#1585) há 2 anos atrás
Model 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) há 2 anos atrás
Server d2d60e6e79 Drop support for Swift 5.5 (#1585) há 2 anos atrás
README.md dceb753a79 Use swift-argument-parser for examples etc (#1118) há 4 anos atrás
route_guide_db.json 0df475fe2e Add a RouteGuide example and tutorial (#598) há 6 anos atrás

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 Makefile is provided in the root of this package with a target to generate client and server code:

$ make generate-route-guide