Tim Burks 148ac95c30 Update PackageManager-based examples to use the latest versions of grpc-swift, swift-protobuf, and auth-library-swift. пре 8 година
..
Generated bc3ab540cb Merge pull request #81 from KyoheiG3/cancelable пре 8 година
Go e8d2b1350b Update Examples to version 0.2.1 + minor cleanup. пре 8 година
PackageManager 148ac95c30 Update PackageManager-based examples to use the latest versions of grpc-swift, swift-protobuf, and auth-library-swift. пре 8 година
Xcode aa2f1bf747 Update sample Xcode projects to fix crash-on-startup. пре 8 година
EchoProvider.swift a26794eaf0 Add completion callback to nonblocking send() in server generated code. пре 8 година
README.md 1ac521b874 Rename a few directories from "SwiftPM" to "PackageManager" пре 9 година
RUNME f3926c5c6a Change access level for generated classes and methods from "public" to "internal". пре 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.