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

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.