Daniel Alm cab578fbd2 Replace calls to `DispatchSemaphore.wait(timeout: DispatchTime.distantFuture)` with just `.wait()`. 7 år sedan
..
Makefile e8d2b1350b Update Examples to version 0.2.1 + minor cleanup. 8 år sedan
Package.swift a0249407eb Update examples to build with the current version of SwiftGRPC. 7 år sedan
README.md 1ac521b874 Rename a few directories from "SwiftPM" to "PackageManager" 9 år sedan
main.swift cab578fbd2 Replace calls to `DispatchSemaphore.wait(timeout: DispatchTime.distantFuture)` with just `.wait()`. 7 år sedan

README.md

Simple, a Swift gRPC Sample App

This sample illustrates the use of low-level Swift gRPC APIs in clients and servers. Please note that typical gRPC applications would not use these APIs but would use code generated using the Swift gRPC plugin for protoc.

The Simple app is built with the Swift Package Manager and is a command-line tool that can be run as a client or server. Pass the "server" argument to run it as a server and "client" to run it as a client.

It requires a local build of the gRPC Core C library. To build that, please run "make" in the root of your gRPC distribution.