GCC Code Coverage Report


Directory: libs/http_proto/include/boost/http_proto/
File: boost/http_proto/impl/response_parser.ipp
Date: 2023-03-01 04:29:23
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 #ifndef BOOST_HTTP_PROTO_IMPL_RESPONSE_PARSER_IPP
11 #define BOOST_HTTP_PROTO_IMPL_RESPONSE_PARSER_IPP
12
13 #include <boost/http_proto/response_parser.hpp>
14
15 namespace boost {
16 namespace http_proto {
17
18 5 response_parser::
19 response_parser(
20 5 context& ctx)
21 : parser(
22 ctx,
23 5 detail::kind::response)
24 {
25 5 }
26
27 response_view
28 response_parser::
29 get() const
30 {
31 return response_view(
32 safe_get_header());
33 }
34
35 } // http_proto
36 } // boost
37
38 #endif
39