|
|
9 ani în urmă | |
|---|---|---|
| .. | ||
| Generated | 9 ani în urmă | |
| Go | 9 ani în urmă | |
| PackageManager | 9 ani în urmă | |
| Xcode | 9 ani în urmă | |
| EchoProvider.swift | 9 ani în urmă | |
| README.md | 9 ani în urmă | |
| echo.proto | 9 ani în urmă | |
This directory contains a simple echo server and client that demonstrates all four gRPC API styles (Unary, Server Streaming, Client Streaming, and Bidirectional Streaming). It includes Swift and Go implementations to verify interoperability.
The Xcode directory contains a Mac app and PackageManager contains a command-line tool that can be built with the Swift Package Manager. Both contain a Swift client and server, and both are hard-coded to use port 8081 for insecure connections and port 8443 for secure connections.
The Go directory contains a Go client and server. The Go server listens on port 8080 and the Go client connects to this by default but can be pointed at other servers using the "-a" command-line option.