1
0
mirror of synced 2025-07-22 03:21:50 +03:00
Files
cpp-httplib/benchmark/cpp-httplib/main.cpp
2024-09-05 12:22:46 -04:00

13 lines
218 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);
}