aboutsummaryrefslogtreecommitdiffstats
path: root/crow.h
diff options
context:
space:
mode:
Diffstat (limited to 'crow.h')
-rw-r--r--crow.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crow.h b/crow.h
index 025d174..55572bf 100644
--- a/crow.h
+++ b/crow.h
@@ -29,9 +29,9 @@ namespace crow
{
}
- response handle(const request& req)
+ void handle(const request& req, response& res)
{
- return router_.handle(req);
+ return router_.handle(req, res);
}
template <uint64_t Tag>
@@ -84,5 +84,6 @@ namespace crow
Router router_;
};
+ using App = Crow;
};