This commit is contained in:
yhirose 2018-05-06 21:16:35 -04:00
parent e46cc54d13
commit 6c5d0b2a18
8 changed files with 255 additions and 103 deletions

View file

@ -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");
});