No Description

Tim Burks feb4c8d49f Echo Swift client now makes gRPC calls off of the main thread. 9 years ago
Examples feb4c8d49f Echo Swift client now makes gRPC calls off of the main thread. 9 years ago
Packages 342c247e23 Stop printing FileDescriptorSets when we load them. 9 years ago
QuickProto fab7fafcb0 Default gRPC server now returns "OK". Fix some broken references. 9 years ago
gRPC d76f54f1c1 Initial commit 9 years ago
gRPC.xcodeproj d9083362c0 Add StickyNote sample, a Mac gRPC client that uses protocol buffers 9 years ago
third_party cc12232180 Add grpc submodule, update path to grpc project, minor improvements to cgrpc.h 9 years ago
.gitignore 6a1e661e29 Swift Echo sample 9 years ago
.gitmodules cc12232180 Add grpc submodule, update path to grpc project, minor improvements to cgrpc.h 9 years ago
CONTRIBUTING.md d76f54f1c1 Initial commit 9 years ago
LICENSE d76f54f1c1 Initial commit 9 years ago
README.md 52cd84d9cd Add some READMEs for examples 9 years ago

README.md

Swift gRPC API

This repository contains an experimental Swift gRPC API.

Currently not intended for production use, it provides low-level Swift wrappers for the C gRPC API that can be used to build higher-level structures supporting streaming and nonstreaming gRPC APIs.

Preliminary protocol buffer support is provided in the QuickProto library. This simple Swift library provides an API for building and parsing protocol buffers with no generated code.

Code is provided for both gRPC clients and servers, and it can be built either with Xcode or the Swift Package Manager. The Xcode build is demonstrated with Sessions, a sample Mac app that can be used to create and run multiple concurrent servers and clients.

Other examples include StickyNotes and Echo.

Swift Package Manager builds are demonstrated on Linux using the instructions in the Packages directory.