Tim Burks f134fc8e8d Simplify interfaces: replace MetadataPairs with built-in types, hide ByteBuffers, reduce use of NSData 9 years ago
..
Go ea5b370e5a Improve echo message to show source language and type (nonstreaming or streaming) 9 years ago
Objective-C 8d13a90e1f Heavy rework to support streaming in the Echo example. 9 years ago
Swift f134fc8e8d Simplify interfaces: replace MetadataPairs with built-in types, hide ByteBuffers, reduce use of NSData 9 years ago
README.md 52cd84d9cd Add some READMEs for examples 9 years ago
echo.proto 8422b38364 Echo server, first a Go version 9 years ago

README.md

This directory contains a simple echo server that can be used to verify interoperability of Swift and Go gRPC servers.

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

The Swift directory contains a Mac app that contains a Swift client and server. The server starts with the app and listens on localhost:8081. The client runs in a window and connects by default to this port but can be pointed at other servers using the address field in the Echo window.

When the Go server and Mac app are running on the same machine, both clients can be used to connect to both servers.