Brak opisu

Tim Burks c7630c2074 Updates to Sessions demo app to match new API. 9 lat temu
Examples c7630c2074 Updates to Sessions demo app to match new API. 9 lat temu
Packages c7630c2074 Updates to Sessions demo app to match new API. 9 lat temu
QuickProto fab7fafcb0 Default gRPC server now returns "OK". Fix some broken references. 9 lat temu
gRPC d76f54f1c1 Initial commit 9 lat temu
gRPC.xcodeproj 07e576e3dd revised Swift comments, API cleanup 9 lat temu
third_party cc12232180 Add grpc submodule, update path to grpc project, minor improvements to cgrpc.h 9 lat temu
.gitignore 6a1e661e29 Swift Echo sample 9 lat temu
.gitmodules cc12232180 Add grpc submodule, update path to grpc project, minor improvements to cgrpc.h 9 lat temu
CONTRIBUTING.md d76f54f1c1 Initial commit 9 lat temu
LICENSE d76f54f1c1 Initial commit 9 lat temu
README.md 52cd84d9cd Add some READMEs for examples 9 lat temu

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.