openmohaa/code/cpp-httplib-0.19.0/benchmark/cpp-httplib-base/main.cpp
smallmodel 01381ed084
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
Add HTTP support and update checking
2025-02-24 02:20:31 +01:00

12 lines
220 B
C++

#include "./httplib.h"
using namespace httplib;
int main() {
Server svr;
svr.Get("/", [](const Request &, Response &res) {
res.set_content("Hello World!", "text/plain");
});
svr.listen("0.0.0.0", 8080);
}