libs/http/src/server/router.cpp
0.0% Lines (0/5)
0.0% Functions (0/2)
-% Branches (0/0)
libs/http/src/server/router.cpp
| Line | Hits | 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 | ✗ | route_params:: |
| 16 | ~route_params() | |
| 17 | { | |
| 18 | ✗ | } |
| 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 |