LCOV - code coverage report
Current view: top level - http_proto/impl - request_parser.ipp (source / functions) Hit Total Coverage
Test: coverage_filtered.info Lines: 6 6 100.0 %
Date: 2023-02-10 23:49:12 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             : #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           2 : request_parser::
      21           2 : request_parser()
      22           2 :     : request_parser(65536)
      23             : {
      24           2 : }
      25             : 
      26             : request_view
      27          37 : request_parser::
      28             : get() const noexcept
      29             : {
      30             :     return request_view(
      31          37 :         safe_get_header());
      32             : }
      33             : 
      34             : } // http_proto
      35             : } // boost
      36             : 
      37             : #endif

Generated by: LCOV version 1.15