static_http namespace


This namespace contains an implementation for a static HTTP server. It can be used to serve directory trees of files which are compiled into the binary as constant strings. The common application for this are embedded devices.

The filesystem classes used with this server can be created from a directory using the command line tool tools/mkfs.pike which is part of the libaes70 repository.

This http server supports HTTP/1.1 with pipelining and is able to accept WebSocket connections.

This part of the library uses the excellent http_parser library for parsing incoming http requests. When using this http server it is necessary to include the http_parser.c file into the build.


struct base64
template<typename Connection, typename FileSystem, typename WebSocketServer = void>
class connection
template<typename FileSystem, typename WebSocketPort>
class server
class sha1