GCC Code Coverage Report


Directory: libs/http_proto/include/boost/http_proto/
File: boost/http_proto/impl/response_parser.ipp
Date: 2023-01-15 07:18:31
Exec Total Coverage
Lines: 0 5 0.0%
Functions: 0 2 0.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 response_parser::
19 response_parser(
20 config const& cfg,
21 std::size_t buffer_size)
22 : parser(
23 detail::kind::response,
24 cfg,
25 buffer_size)
26 {
27 }
28
29 response_view
30 response_parser::
31 get() const noexcept
32 {
33 return response_view(&h_);
34 }
35
36 } // http_proto
37 } // boost
38
39 #endif
40