Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 496 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 496 Bytes

A simple HTTP server made using C++.

#include "HttpServer.h"

HttpServer httpServer;
int main()
{
	httpServer.get("/", [](Request req, Response res) {
		res.send("Hello, world!");
	});

	httpServer.listen(3000);
};

Building

  • Install CMake
  • Run build.bat to build this project.

If built successfully, a static library with the name web-server.lib should be found inside build/Release directory.

Features

  • Caching
  • SSL Support