Geen omschrijving

Tim Burks 20e0cf1bb2 Reorganize vendored gRPC core code, moving it into CgRPC. 9 jaren geleden
Examples 20e0cf1bb2 Reorganize vendored gRPC core code, moving it into CgRPC. 9 jaren geleden
Plugin cb270e9df0 Make all run() methods in generated client code synchronous. 9 jaren geleden
Sources 20e0cf1bb2 Reorganize vendored gRPC core code, moving it into CgRPC. 9 jaren geleden
Tests 3d0d77a9fe Simplified call interface for clients. 9 jaren geleden
gRPC cc616f53e0 first working TLS client calls 9 jaren geleden
gRPC.xcodeproj 20e0cf1bb2 Reorganize vendored gRPC core code, moving it into CgRPC. 9 jaren geleden
third_party 63c6acfa40 Move CgRPC, gRPC, and QuickProto to "Sources" directory and add new top-level Package.swift. 9 jaren geleden
.gitignore 6a1e661e29 Swift Echo sample 9 jaren geleden
.gitmodules 63c6acfa40 Move CgRPC, gRPC, and QuickProto to "Sources" directory and add new top-level Package.swift. 9 jaren geleden
.swift-version b7dcb9e04c Add Travis build and test configuration. 9 jaren geleden
.travis.yml b7dcb9e04c Add Travis build and test configuration. 9 jaren geleden
CONTRIBUTING.md 98a8b64da5 Update README and CONTRIBUTING. 9 jaren geleden
LICENSE d983798ec5 Fix license date (thomasvl@) 9 jaren geleden
LINUX.md cd67135c18 Fixed plugin for use on Linux. 9 jaren geleden
Makefile 20e0cf1bb2 Reorganize vendored gRPC core code, moving it into CgRPC. 9 jaren geleden
OVERVIEW.md b0edcaedfa Add details to OVERVIEW document. 9 jaren geleden
PATENTS 36f2bde28e Add PATENTS declaration 9 jaren geleden
Package.swift 20e0cf1bb2 Reorganize vendored gRPC core code, moving it into CgRPC. 9 jaren geleden
README.md b7dcb9e04c Add Travis build and test configuration. 9 jaren geleden
SwiftGRPC-incomplete.podspec 82b3a928d5 Rename podspec to clarify its status. 9 jaren geleden
vendor-boringssl.sh 421bb6def6 Add vended BoringSSL and gRPC_Core code to simplify distribution. 9 jaren geleden
vendor-grpc.sh 421bb6def6 Add vended BoringSSL and gRPC_Core code to simplify distribution. 9 jaren geleden

README.md

Build Status

Swift gRPC

This repository contains an experimental Swift gRPC API and code generator.

It is intended for use with Apple's swift-protobuf support for Protocol Buffers. Both projects contain code generation plugins for protoc, Google's Protocol Buffer compiler, and both contain libraries of supporting code that is needed to build and run the generated code.

APIs and generated code is provided for both gRPC clients and servers, and can be built either with Xcode or the Swift Package Manager. Support is provided for all four gRPC API styles (Unary, Server Streaming, Client Streaming, and Bidirectional Streaming) and connections can be made either over secure (TLS) or insecure channels.

The Echo example provides a comprehensive demonstration of currently-supported features.

Swift Package Manager builds may also be made on Linux systems. Please see LINUX.md for details.

Getting started

After cloning this repository, cd third_party; RUNME.sh to download its dependencies. (We don't use git submodules so that the repository will stay lean when it is imported with the the Swift Package Manager.)

Building grpc

Swift gRPC currently requires a separate build of the grpc core library. To do this, enter the grpc directory and run git submodule update --init and then make install. If you get build errors, edit the Makefile and remove "-Werror" from the line that begins with "CPPFLAGS +=".

Having build problems?

grpc-swift depends on Swift, Xcode, and swift-proto, all of which are in flux and potential sources of breaking changes. We are currently testing with the following versions:

  • Xcode 8.2
  • Swift 3.0.2
  • swift-proto 0.9.24

License

grpc-swift is released under the same license as gRPC, repeated in LICENSE.

Contributing

Please get involved! See our guidelines for contributing.