|
|
преди 6 години | |
|---|---|---|
| .. | ||
| Cocoapods | преди 7 години | |
| EchoWeb | преди 6 години | |
| EchoXcode | преди 7 години | |
| преди 6 години | ||
| SimpleXcode | преди 6 години | |
| README.md | преди 7 години | |
To build the Xcode examples, you will need to add the SwiftGRPC project (and possibly the SwiftProtobuf project from https://github.com/apple/swift-protobuf as well) to the corresponding Xcode projects. This is explained in more detail in the individual directories' README.md files.
Echo The Echo sample demonstrates a simple echo service with nonstreaming and streaming APIS. It can be run with or without TLS. Swift clients and servers are built in a Mac app and in a command-line tool that is built with the Swift Package Manager. An interoperable client and server is in the Echo/Go directory.
The Echo sample uses a client and server interface generated by the Swift gRPC plugin for protoc.
Samples that call Google gRPC APIs are in the Google directory.
Simple The Simple sample demonstrates the low-level gRPC APIs with clients and servers that can be built with Xcode or the Swift Package Manager.