Swift NIO + Protobuf example
The sub-module model
contains proto directory, which contains *.proto
-files, just run proto_compile.sh
(at project's root directory) shell script to compile all of them.
To start the server:
$> swift run server
server started at port 8899
To start the client:
$> swift run client
...
After those two actions, you see sending a message from the client
to the server
and receiving the response.