GCC Code Coverage Report


Directory: libs/http_proto/include/boost/http_proto/
File: boost/http_proto/impl/request_parser.ipp
Date: 2023-01-09 16:11:13
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 #ifndef BOOST_HTTP_PROTO_IMPL_REQUEST_PARSER_IPP
11 #define BOOST_HTTP_PROTO_IMPL_REQUEST_PARSER_IPP
12
13 #include <boost/http_proto/request_parser.hpp>
14
15 namespace boost {
16 namespace http_proto {
17
18 //------------------------------------------------
19
20 707 request_parser::
21 request_parser(
22 config const& cfg,
23 707 std::size_t buffer_bytes)
24 : parser(
25 detail::kind::request,
26 cfg,
27 707 buffer_bytes)
28 {
29 707 }
30
31 request_view
32 32 request_parser::
33 get() const noexcept
34 {
35 32 return request_view(&h_);
36 }
37
38 } // http_proto
39 } // boost
40
41 #endif
42