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

About the developer

mattgodbolt
557 Stars 104 Forks BSD 2-Clause "Simplified" License 674 Commits 29 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

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

CI codecov GitHub release License ConanCenter package

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.
  • Supports Linux and Windows

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 probably won't work on other systems (patches to support other systems would be welcome, but not a priority for us)

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.