1
0
mirror of synced 2025-12-17 04:02:14 +03:00

Add benchmark tool

This commit is contained in:
yhirose
2024-09-05 12:22:46 -04:00
parent b4989130da
commit c75d071615
6 changed files with 14388 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#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);
}