Skip to content

Minimalistic cross-platform HTTP server on C++

Notifications You must be signed in to change notification settings

dzen03/simple-http-server

Repository files navigation

Simple HTTP server

CTests

About

Written from scratch for POSIX and Windows. Primary development goes on macOS1, so WinAPI might be buggy/slightly outdated2.

There is configured Github Action on Linux + Windows. Both platform utilise clang-tidy.

Usage

There is an example in main.cpp

Compile

Requirements

*nix

CMake, GCC/LLVM Clang1.

Windows

CMake, Some kind of C++ compiler: mingw, cygwin or MSVC2.

Code

cmake -B build
cd build
cmake --build .
./http-server

Tests (Optional):

ctest -V

Footnotes

  1. I am using clang, ninja, so they are tested. 2

  2. I am using llvm-mingw, ninja (other things might not work; llvm's mingw-make does NOT work). 2

About

Minimalistic cross-platform HTTP server on C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published