2
0
Tim Burks 1f99975087 Update Xcode-based examples for Swift 3.1, Xcode 8.3.2, and other build problems. 8 жил өмнө
..
Generated 1f99975087 Update Xcode-based examples for Swift 3.1, Xcode 8.3.2, and other build problems. 8 жил өмнө
Go 03243903e8 Remove unnecessary channel from Go expand client. 9 жил өмнө
PackageManager 1d7d131212 Update swift-protobuf to 0.9.901 8 жил өмнө
Xcode 1f99975087 Update Xcode-based examples for Swift 3.1, Xcode 8.3.2, and other build problems. 8 жил өмнө
EchoProvider.swift bdcf5d180e Initial conversion to Swift 3.1: generated code manually-converted to Swift 3.1 APIs. 8 жил өмнө
README.md 1ac521b874 Rename a few directories from "SwiftPM" to "PackageManager" 9 жил өмнө
RUNME 0f331f35c0 Remove personal dependency in Echo example 8 жил өмнө
echo.proto 750ade663e Reorganize Echo sample to put Swift Package Manager and Xcode versions side-by-side in Examples/Echo. 9 жил өмнө

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.