Http server is written on C++14 language.
Dynamic libraries act as applications for the server
(* .so - linux, * .dll - windows).
Library connection takes place in the configuration file
[samples/apps.conf] [samples/apps.conf]
by using the parameter server_module.
Sample application code: https://github.com/awwit/httpserverapp
This http server support:
- HTTP v1.1
- HTTPS (TLS)
- Keep-Alive
- WebSocket
- Get-Parted requests
- X-Sendfile (header)
Common:
Linux:
- dl
- pthread
Linux:
git clone https://github.com/awwit/httpserver.git cd httpserver mkdir build cd build qbs build -f ./../projects/qt-creator/httpserver.qbs release
./httpserver --start
Configuration files must be located in the working (current) directory.
Server (and its applications) setting is made using config-files. Examples of settings are located in the folder [samples][samples/].
The source codes are licensed under the AGPL, the full text of the license is located in the [LICENSE][LICENSE] file.