LCOV - code coverage report
Current view: top level - libs/http_proto/src - request_parser.cpp (source / functions) Hit Total Coverage
Test: coverage_filtered.info Lines: 6 6 100.0 %
Date: 2024-04-15 15:38:04 Functions: 2 2 100.0 %

          Line data    Source code
       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        1020 : request_parser::
      16             : request_parser(
      17        1020 :     context& ctx)
      18             :     : parser(
      19             :         ctx,
      20        1020 :         detail::kind::request)
      21             : {
      22        1020 : }
      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

Generated by: LCOV version 1.15