Line data Source code
1 : //
2 : // Copyright (c) 2025 Vinnie Falco (vinnie dot falco at gmail dot 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/router.hpp>
11 :
12 : namespace boost {
13 : namespace http {
14 :
15 0 : route_params::
16 : ~route_params()
17 : {
18 0 : }
19 :
20 : route_params&
21 0 : route_params::
22 : status(
23 : http::status code)
24 : {
25 0 : res.set_start_line(code, res.version());
26 0 : return *this;
27 : }
28 :
29 : } // http
30 : } // boost
|