George Barnett 31b7551c5f Update RouteGuide examples (#1426) 3 年 前
..
Client 31b7551c5f Update RouteGuide examples (#1426) 3 年 前
Model 305677ed3b Make clients sendable (#1386) 3 年 前
Server 31b7551c5f Update RouteGuide examples (#1426) 3 年 前
README.md dceb753a79 Use swift-argument-parser for examples etc (#1118) 4 年 前

README.md

Hello World, a quick-start gRPC Example

This directory contains a 'Hello World' gRPC example, a single service with just one RPC for saying hello. The quick-start tutorial which accompanies this example lives in docs/ directory of this project.

Running

Server

To start the server run:

swift run HelloWorldServer

Client

To send a message to the server run the following:

swift run HelloWorldClient

You may also greet a particular person (or dog). For example, to greet PanCakes run:

swift run HelloWorldClient PanCakes