summaryrefslogtreecommitdiff
path: root/libs/cpp-httplib/example/hello.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cpp-httplib/example/hello.cc')
-rw-r--r--libs/cpp-httplib/example/hello.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/libs/cpp-httplib/example/hello.cc b/libs/cpp-httplib/example/hello.cc
deleted file mode 100644
index 38d25a6..0000000
--- a/libs/cpp-httplib/example/hello.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-//
-// hello.cc
-//
-// Copyright (c) 2019 Yuji Hirose. All rights reserved.
-// MIT License
-//
-
-#include <httplib.h>
-using namespace httplib;
-
-int main(void) {
- Server svr;
-
- svr.Get("/hi", [](const Request & /*req*/, Response &res) {
- res.set_content("Hello World!", "text/plain");
- });
-
- svr.listen("0.0.0.0", 8080);
-}