|
|
9 years ago | |
|---|---|---|
| Assets | 9 years ago | |
| Docker | 9 years ago | |
| Examples | 9 years ago | |
| Plugin | 9 years ago | |
| Sources | 9 years ago | |
| SwiftGRPC.xcodeproj | 9 years ago | |
| Tests | 9 years ago | |
| third_party | 9 years ago | |
| .gitignore | 9 years ago | |
| .gitmodules | 9 years ago | |
| .swift-version | 9 years ago | |
| .travis-install.sh | 9 years ago | |
| .travis.yml | 9 years ago | |
| CONTRIBUTING.md | 9 years ago | |
| DOCKER.md | 9 years ago | |
| LICENSE | 9 years ago | |
| LINUX.md | 9 years ago | |
| Makefile | 9 years ago | |
| OVERVIEW.md | 9 years ago | |
| PATENTS | 9 years ago | |
| Package.swift | 9 years ago | |
| README.md | 9 years ago | |
| SwiftGRPC-incomplete.podspec | 9 years ago | |
| vendor-boringssl.sh | 9 years ago | |
| vendor-grpc.sh | 9 years ago |
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.
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.
grpc-swift depends on Swift, Xcode, and swift-proto. We are currently testing with the following versions:
grpc-swift is released under the same license as gRPC, repeated in LICENSE.
Please get involved! See our guidelines for contributing.