mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Update benchmark
This commit is contained in:
parent
2eaa2ea64f
commit
0bda3a7d1a
5 changed files with 10516 additions and 14 deletions
10475
benchmark/cpp-httplib-v19/httplib.h
Normal file
10475
benchmark/cpp-httplib-v19/httplib.h
Normal file
File diff suppressed because it is too large
Load diff
12
benchmark/cpp-httplib-v19/main.cpp
Normal file
12
benchmark/cpp-httplib-v19/main.cpp
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue