Skip to content

Just a swift-protobuf example project with Swift NIO framework

Notifications You must be signed in to change notification settings

xxlabaza/swift-protobuf-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Protobuf example

Swift NIO + Protobuf example

Compile protobuf

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.

Usage

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.

About

Just a swift-protobuf example project with Swift NIO framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published