Tim Burks b4dc0a0952 Remove line-ending spaces from Swift source files. 8 years ago
..
Datastore 0aa90a79ee Relicense to Apache 2, change owners to "the gRPC Authors". 8 years ago
Echo 0aa90a79ee Relicense to Apache 2, change owners to "the gRPC Authors". 8 years ago
Simple b4dc0a0952 Remove line-ending spaces from Swift source files. 8 years ago
README.md 317482f1f0 Fix Echo example and improve instructions 8 years ago

README.md

Examples

To build the Xcode examples, make sure required third party libraries (specifically swift-protobuf) are retrieved by running the script in the third_party toplevel directory:

$ cd third_party
$ sh RUNME.sh

Swift gRPC generated code examples

Echo This sample demonstrates a simple echo service with nonstreaming and streaming APIS. It can be run with or without TLS. Swift clients and servers are built in a Mac app and in a command-line tool that is built with the Swift Package Manager. An interoperable client and server is in the [Echo/Go] directory.

This sample uses a client and server interface generated by the Swift gRPC plugin for protoc.

Low-level demonstrations

Simple This sample demonstrates the low-level gRPC APIs with clients and servers that can be built with Xcode or the Swift Package Manager.