GCC Code Coverage Report


Directory: libs/http_proto/
File: libs/http_proto/src/response_parser.cpp
Date: 2024-09-13 19:44:07
Exec Total Coverage
Lines: 4 6 66.7%
Functions: 1 2 50.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/response_parser.hpp>
11
12 namespace boost {
13 namespace http_proto {
14
15 25 response_parser::
16 response_parser(
17 25 context& ctx)
18 : parser(
19 ctx,
20 25 detail::kind::response)
21 {
22 25 }
23
24 response_view
25 response_parser::
26 get() const
27 {
28 return response_view(
29 safe_get_header());
30 }
31
32 } // http_proto
33 } // boost
34