summaryrefslogtreecommitdiffstats
path: root/server/src/srv.cppm
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/srv.cppm')
-rw-r--r--server/src/srv.cppm5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/src/srv.cppm b/server/src/srv.cppm
index 063617e..b06dc3b 100644
--- a/server/src/srv.cppm
+++ b/server/src/srv.cppm
@@ -11,10 +11,11 @@ namespace routemon::srv {
11 11
12class handler 12class handler
13{ 13{
14 log::logger l_;
14 api::handler inner_; 15 api::handler inner_;
15 16
16public: 17public:
17 using outer_ctx = http::trace_id_ctx<http::base_ctx>; 18 using outer_ctx = http::base_ctx;
18 using l0_ctx = http::routed_ctx<outer_ctx>; 19 using l0_ctx = http::routed_ctx<outer_ctx>;
19 20
20private: 21private:
@@ -25,7 +26,7 @@ private:
25 -> net::awaitable<http::presponse>; 26 -> net::awaitable<http::presponse>;
26 27
27public: 28public:
28 handler(api::handler&& inner); 29 handler(log::logger const& l, api::handler&& inner);
29 30
30 auto make_routes() -> http::route_tree<http::routed_ctx<outer_ctx>>; 31 auto make_routes() -> http::route_tree<http::routed_ctx<outer_ctx>>;
31}; 32};