libs/http/src/server/router.cpp

100.0% Lines (5/5) 100.0% Functions (2/2) -% Branches (0/0)
libs/http/src/server/router.cpp
Line Hits Source Code
1 //
2 // Copyright (c) 2025 Vinnie Falco (vinnie.falco@gmail.com)
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 205 route_params::
16 ~route_params()
17 {
18 205 }
19
20 route_params&
21 37 route_params::
22 status(
23 http::status code)
24 {
25 37 res.set_start_line(code, res.version());
26 37 return *this;
27 }
28
29 } // http
30 } // boost
31