Nav apraksta

Tim Burks 7438d2012d Echo sample now includes working TLS server. 9 gadi atpakaļ
Examples 7438d2012d Echo sample now includes working TLS server. 9 gadi atpakaļ
Packages 7438d2012d Echo sample now includes working TLS server. 9 gadi atpakaļ
QuickProto 494669ba1b QuickProto: rename the "serialize" method of Message to "data" 9 gadi atpakaļ
gRPC cc616f53e0 first working TLS client calls 9 gadi atpakaļ
gRPC.xcodeproj cc616f53e0 first working TLS client calls 9 gadi atpakaļ
third_party cc12232180 Add grpc submodule, update path to grpc project, minor improvements to cgrpc.h 9 gadi atpakaļ
.gitignore 6a1e661e29 Swift Echo sample 9 gadi atpakaļ
.gitmodules cc12232180 Add grpc submodule, update path to grpc project, minor improvements to cgrpc.h 9 gadi atpakaļ
CONTRIBUTING.md d76f54f1c1 Initial commit 9 gadi atpakaļ
LICENSE d76f54f1c1 Initial commit 9 gadi atpakaļ
README.md 52cd84d9cd Add some READMEs for examples 9 gadi atpakaļ

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.