GCC Code Coverage Report


Directory: libs/http_proto/
File: libs/http_proto/src/request_parser.cpp
Date: 2024-09-18 08:42:23
Exec Total Coverage
Lines: 6 6 100.0%
Functions: 2 2 100.0%
Branches: 0 0 -%

Line Branch Exec Source
1 //
2 // Copyright (c) 2019 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_proto
8 //
9
10 #include <boost/http_proto/request_parser.hpp>
11
12 namespace boost {
13 namespace http_proto {
14
15 1022 request_parser::
16 request_parser(
17 1022 context& ctx)
18 : parser(
19 ctx,
20 1022 detail::kind::request)
21 {
22 1022 }
23
24 request_view
25 314 request_parser::
26 get() const
27 {
28 return request_view(
29 314 safe_get_header());
30 }
31
32 } // http_proto
33 } // boost
34