Tim Burks e5568059fa Update remaining examples to remove explicit -lz linker commands. 8 lat temu
..
Generated fb0053af64 Update swift-proto dependency version to 0.9.903. 8 lat temu
Go 03243903e8 Remove unnecessary channel from Go expand client. 9 lat temu
PackageManager b75af1674c Replace libz link dependency with a reference to an external source package. 8 lat temu
Xcode e5568059fa Update remaining examples to remove explicit -lz linker commands. 8 lat temu
EchoProvider.swift 0aa90a79ee Relicense to Apache 2, change owners to "the gRPC Authors". 8 lat temu
README.md 1ac521b874 Rename a few directories from "SwiftPM" to "PackageManager" 9 lat temu
RUNME f3926c5c6a Change access level for generated classes and methods from "public" to "internal". 8 lat temu
echo.proto 750ade663e Reorganize Echo sample to put Swift Package Manager and Xcode versions side-by-side in Examples/Echo. 9 lat temu

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.