Tidak Ada Deskripsi

Tim Burks 6954ff7d39 Corrected a few incorrect license headers. All code should be under the common gRPC license. 9 tahun lalu
Examples 961d96dfb8 Remove Speech demo to fix and republish elsewhere. 9 tahun lalu
Plugin 6954ff7d39 Corrected a few incorrect license headers. All code should be under the common gRPC license. 9 tahun lalu
Sources 220cc3fe29 Update vendoring scripts and build configuration for examples for new vendored gRPC Core. 9 tahun lalu
SwiftGRPC.xcodeproj 46a9d0f57e Add Xcode project generated with "swift package generate-xcodeproj" 9 tahun lalu
Tests 3d0d77a9fe Simplified call interface for clients. 9 tahun lalu
gRPC cc616f53e0 first working TLS client calls 9 tahun lalu
gRPC.xcodeproj 20e0cf1bb2 Reorganize vendored gRPC core code, moving it into CgRPC. 9 tahun lalu
third_party 63c6acfa40 Move CgRPC, gRPC, and QuickProto to "Sources" directory and add new top-level Package.swift. 9 tahun lalu
.gitignore 6a1e661e29 Swift Echo sample 9 tahun lalu
.gitmodules 63c6acfa40 Move CgRPC, gRPC, and QuickProto to "Sources" directory and add new top-level Package.swift. 9 tahun lalu
.swift-version b7dcb9e04c Add Travis build and test configuration. 9 tahun lalu
.travis.yml b7dcb9e04c Add Travis build and test configuration. 9 tahun lalu
CONTRIBUTING.md 98a8b64da5 Update README and CONTRIBUTING. 9 tahun lalu
DOCKER.md 7a8dbb0371 Update Docker instructions to download a pre-built protoc. 9 tahun lalu
LICENSE d983798ec5 Fix license date (thomasvl@) 9 tahun lalu
LINUX.md cd67135c18 Fixed plugin for use on Linux. 9 tahun lalu
Makefile 20e0cf1bb2 Reorganize vendored gRPC core code, moving it into CgRPC. 9 tahun lalu
OVERVIEW.md b0edcaedfa Add details to OVERVIEW document. 9 tahun lalu
PATENTS 36f2bde28e Add PATENTS declaration 9 tahun lalu
Package.swift 20e0cf1bb2 Reorganize vendored gRPC core code, moving it into CgRPC. 9 tahun lalu
README.md cad400eb08 Add Docker instructions and update README. 9 tahun lalu
SwiftGRPC-incomplete.podspec 82b3a928d5 Rename podspec to clarify its status. 9 tahun lalu
vendor-boringssl.sh 220cc3fe29 Update vendoring scripts and build configuration for examples for new vendored gRPC Core. 9 tahun lalu
vendor-grpc.sh 220cc3fe29 Update vendoring scripts and build configuration for examples for new vendored gRPC Core. 9 tahun lalu

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 DOCKER.md and LINUX.md for details.

gRPC dependencies are vendored

Swift gRPC now includes vendored copies of the gRPC core library and "BoringSSL", an OpenSSL fork that is used by the gRPC Core. These are built automatically in Swift Package Manager builds. The repository also includes SwiftGRPC.xcodeproj, an Xcode project which is automatically-generated by the Swift Package Manager.

Having build problems?

grpc-swift depends on Swift, Xcode, and swift-proto. 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.