mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-11-14 19:03:30 +00:00
Refactoring.
This commit is contained in:
1 parent
f91cc98b89
commit
aa75fbb5f9
7 files changed
+98
-77
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ int main(void)
|
||||
Server svr("localhost", 1234);
|
||||
|
||||
svr.get("/hi", [](Connection& c) {
|
||||
c.response.set_content("Hello World!");
|
||||
c.response.set_content("Hello World!", "text/plain");
|
||||
});
|
||||
|
||||
svr.run();
|
||||
|
||||
Reference in new issue
Block a user