seasocks

by mattgodbolt

mattgodbolt / seasocks

Simple, small, C++ embeddable webserver with WebSockets support

488 Stars 88 Forks Last release: 3 months ago (v1.4.4) BSD 2-Clause "Simplified" License 650 Commits 26 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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

Build Status codecov GitHub release License

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.
  • It's Linux focused and probably wont work on other systems (however patches to support other systems are welcome)

Getting started

Check out the tutorial on the wiki.

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

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.