Tim Burks ddd1ddb430 Reorganize examples, make dependency on swift-proto 0.9.24 explicit in third_party/RUNME.sh 9 years ago
..
Generated ddd1ddb430 Reorganize examples, make dependency on swift-proto 0.9.24 explicit in third_party/RUNME.sh 9 years ago
Go 03243903e8 Remove unnecessary channel from Go expand client. 9 years ago
SwiftPM ddd1ddb430 Reorganize examples, make dependency on swift-proto 0.9.24 explicit in third_party/RUNME.sh 9 years ago
Xcode ddd1ddb430 Reorganize examples, make dependency on swift-proto 0.9.24 explicit in third_party/RUNME.sh 9 years ago
EchoProvider.swift ddd1ddb430 Reorganize examples, make dependency on swift-proto 0.9.24 explicit in third_party/RUNME.sh 9 years ago
README.md 9f83614459 Minor edits to Echo/README.md 9 years ago
echo.proto 750ade663e Reorganize Echo sample to put Swift Package Manager and Xcode versions side-by-side in Examples/Echo. 9 years ago

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 Swift directory contains a Mac app and 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 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.