Daniel Alm 7c9a83c424 Fix two memory leaks and update a link in the README. (#501) %!s(int64=6) %!d(string=hai) anos
..
Cocoapods 696cd46342 Several fixes to the example projects. %!s(int64=7) %!d(string=hai) anos
EchoWeb 86748a7766 Adds Echo Web example with functional prototype %!s(int64=6) %!d(string=hai) anos
EchoXcode 8ff1778127 Update README.md %!s(int64=7) %!d(string=hai) anos
Google 7c9a83c424 Fix two memory leaks and update a link in the README. (#501) %!s(int64=6) %!d(string=hai) anos
SimpleXcode 930440a393 Add ability to manually shut down channels (#384) %!s(int64=6) %!d(string=hai) anos
README.md e89e402e6f Update README.md for examples to point to correct folders (#473) %!s(int64=6) %!d(string=hai) anos

README.md

Examples

To build the Xcode examples, you will need to add the SwiftGRPC project (and possibly the SwiftProtobuf project from https://github.com/apple/swift-protobuf as well) to the corresponding Xcode projects. This is explained in more detail in the individual directories' README.md files.

Swift gRPC generated code examples

Echo The Echo 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.

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

Google API examples

Samples that call Google gRPC APIs are in the Google directory.

Low-level demonstrations

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