Simple, small, C++ embeddable webserver with WebSockets support
C++ C CMake HTML JavaScript Objective-C Other
Latest commit be0ecf1 Jan 4, 2017 @mattgodbolt Fix compile error #45
Permalink
Failed to load latest commit information.
.idea Updates for CLion Nov 23, 2016
.settings
cmake Use c++1y if available Mar 16, 2016
scripts Upgrade DRW compiler version Mar 16, 2016
src Fix compile error #45 Jan 4, 2017
.cproject Add an API to bind to a particular interface. Rename the world Jan 14, 2013
.gitignore Remove the autoconf/configure steps Oct 20, 2015
.project [mg] Move to using libevent; add static file server Dec 17, 2010
.travis.yml Clang 3.9 added to Ci builds. Oct 31, 2016
CMakeLists.txt Version fixed. Oct 20, 2016
LICENSE Update copyright Mar 3, 2016
README.md Unify capitalization of Seasocks Mar 6, 2016
TODO.md

README.md

Seasocks - A tiny embeddable C++ HTTP and WebSocket server

Build Status

Features

  • Simple C++ API
  • Serves static content from disk
  • API for building WebSocket servers
  • Simple command line binary for quick serving of static files only
  • Supports newer Hybi-10 and Hybi-16 WebSockets as well as the older Hixie style.

Stuff it doesn't do

It's not nearly as configurable as Apache, Lighttpd, Nginx, Jetty, etc. It provides only limited support for custom content generation (e.g. Servlets). It has been designed for WebSocket based control.

Getting started

Check out the tutorial on the wiki.

See src/app/c/ws_test.cpp for an example.