George Barnett aa033d6b3d Add scripts to fetch and generate protos (#1784) 1 年之前
..
Client d2d60e6e79 Drop support for Swift 5.5 (#1585) 2 年之前
Model aa033d6b3d Add scripts to fetch and generate protos (#1784) 1 年之前
Server d2d60e6e79 Drop support for Swift 5.5 (#1585) 2 年之前
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