mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-11-15 19:13:39 +00:00
1 parent
e46cc54d13
commit
6c5d0b2a18
8 files changed
+255
-103
No files matched your search
+1
-1
@@ -12,7 +12,7 @@ int main(void)
|
||||
{
|
||||
Server svr;
|
||||
|
||||
svr.get("/hi", [](const auto& /*req*/, auto& res) {
|
||||
svr.Get("/hi", [](const auto& /*req*/, auto& res) {
|
||||
res.set_content("Hello World!", "text/plain");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user