Need help with swift-nio-examples?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

166 Stars 43 Forks Apache License 2.0 54 Commits 15 Opened issues


examples of how to use swift-nio

Services available


Need anything else?

Contributors list

SwiftNIO Example Apps

The point of this repository is to be a collection of ready-to-use SwiftNIO example apps. The other

repositories contain libraries which do sometimes contain example code but usually not whole applications.

The definition of app includes any sort of application, command line utilities, iOS Apps, macOS GUI applications or whatever you can think of.


Each example application should be fully contained in its own sub-directory together with a
explaining what the application demonstrates. Each application must be buildable through either
cd AppName && swift build
cd AppName && ./

Like all other code in the SwiftNIO project, the license for all the code contained in this repository is the Apache License 2.0. See also



Example applications must go through pre-commit code review like all other code in the SwiftNIO project. It is however acceptable to publish demo applications that only work for a subset of the supported platforms if that limitation is clearly documented in the project's

NIO versions


branch contains the examples for the SwiftNIO 2 family. For the examples working with NIO 1, please use the

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.