Daniel Alm 98f7fa6316 For service servers, replace inheritance with composition. пре 7 година
..
Generated 98f7fa6316 For service servers, replace inheritance with composition. пре 7 година
EchoProvider.swift fd60668194 Streamline the interface of the server-side response handling code: In the default (successful) case, most request handlers can now simply return `.ok` and have `ServiceServer` handle sending back the status for them. This also streamlines the `run()` implementations of the `ServerSession` subclasses. пре 7 година
Makefile 12df04f87e move examples under Sources/Examples пре 7 година
README.md 12df04f87e move examples under Sources/Examples пре 7 година
RUNME 12df04f87e move examples under Sources/Examples пре 7 година
echo.proto 12df04f87e move examples under Sources/Examples пре 7 година
main.swift 98f7fa6316 For service servers, replace inheritance with composition. пре 7 година
ssl.crt 12df04f87e move examples under Sources/Examples пре 7 година
ssl.key 12df04f87e move examples under Sources/Examples пре 7 година
test.gold 12df04f87e move examples under Sources/Examples пре 7 година

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).

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.