Tim Burks 0e0e8fdeaf Remove the "0" from the first generated client file. %!s(int64=8) %!d(string=hai) anos
..
Generated 0e0e8fdeaf Remove the "0" from the first generated client file. %!s(int64=8) %!d(string=hai) anos
Go e8d2b1350b Update Examples to version 0.2.1 + minor cleanup. %!s(int64=8) %!d(string=hai) anos
PackageManager c862de3a12 Update plugin and examples to use 0.3.0 client-creation interface. %!s(int64=8) %!d(string=hai) anos
Xcode 9611bbb609 Update Simple and Echo Xcode projects to fix crashes and use new API. %!s(int64=8) %!d(string=hai) anos
EchoProvider.swift a26794eaf0 Add completion callback to nonblocking send() in server generated code. %!s(int64=8) %!d(string=hai) anos
README.md 1ac521b874 Rename a few directories from "SwiftPM" to "PackageManager" %!s(int64=9) %!d(string=hai) anos
RUNME f3926c5c6a Change access level for generated classes and methods from "public" to "internal". %!s(int64=8) %!d(string=hai) anos
echo.proto 750ade663e Reorganize Echo sample to put Swift Package Manager and Xcode versions side-by-side in Examples/Echo. %!s(int64=9) %!d(string=hai) anos

README.md

Echo, a gRPC Sample App

This directory contains a simple echo server and client that demonstrates all four gRPC API styles (Unary, Server Streaming, Client Streaming, and Bidirectional Streaming). It includes Swift and Go implementations to verify interoperability.

The Xcode directory contains a Mac app and PackageManager contains a command-line tool that can be built with the Swift Package Manager. Both contain a Swift client and server, and both are hard-coded to use port 8081 for insecure connections and port 8443 for secure connections.

The Go directory contains a Go client and server. The Go server listens on port 8080 and the Go client connects to this by default but can be pointed at other servers using the "-a" command-line option.