40.00% Lines (2/5)
50.00% Functions (1/2)
| TLA | Baseline | Branch | ||||||
|---|---|---|---|---|---|---|---|---|
| Line | Hits | Code | Line | Hits | Code | |||
| 1 | // | 1 | // | |||||
| 2 | // Copyright (c) 2025 Vinnie Falco (vinnie.falco@gmail.com) | 2 | // Copyright (c) 2025 Vinnie Falco (vinnie.falco@gmail.com) | |||||
| 3 | // | 3 | // | |||||
| 4 | // Distributed under the Boost Software License, Version 1.0. (See accompanying | 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) | 5 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |||||
| 6 | // | 6 | // | |||||
| 7 | // Official repository: https://github.com/cppalliance/http | 7 | // Official repository: https://github.com/cppalliance/http | |||||
| 8 | // | 8 | // | |||||
| 9 | 9 | |||||||
| 10 | #include <boost/http/server/route_handler.hpp> | 10 | #include <boost/http/server/route_handler.hpp> | |||||
| 11 | 11 | |||||||
| 12 | namespace boost { | 12 | namespace boost { | |||||
| 13 | namespace http { | 13 | namespace http { | |||||
| 14 | 14 | |||||||
| HITCBC | 15 | 112 | route_params:: | 15 | 112 | route_params:: | ||
| 16 | ~route_params() | 16 | ~route_params() | |||||
| 17 | { | 17 | { | |||||
| HITCBC | 18 | 112 | } | 18 | 112 | } | ||
| 19 | 19 | |||||||
| 20 | route_params& | 20 | route_params& | |||||
| MISUBC | 21 | ✗ | route_params:: | 21 | ✗ | route_params:: | ||
| 22 | status( | 22 | status( | |||||
| 23 | http::status code) | 23 | http::status code) | |||||
| 24 | { | 24 | { | |||||
| MISUBC | 25 | ✗ | res.set_start_line(code, res.version()); | 25 | ✗ | res.set_start_line(code, res.version()); | ||
| MISUBC | 26 | ✗ | return *this; | 26 | ✗ | return *this; | ||
| 27 | } | 27 | } | |||||
| 28 | 28 | |||||||
| 29 | } // http | 29 | } // http | |||||
| 30 | } // boost | 30 | } // boost | |||||