src/server/router.cpp

40.0% Lines (2/5) 50.0% Functions (1/2)
src/server/router.cpp
Line TLA Hits Source Code
1 //
2 // Copyright (c) 2025 Vinnie Falco ([email protected])
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/cppalliance/http
8 //
9
10 #include <boost/http/server/route_handler.hpp>
11
12 namespace boost {
13 namespace http {
14
15 112 route_params::
16 ~route_params()
17 {
18 112 }
19
20 route_params&
21 route_params::
22 status(
23 http::status code)
24 {
25 res.set_start_line(code, res.version());
26 return *this;
27 }
28
29 } // http
30 } // boost
31