LCOV - code coverage report
Current view: top level - boost/beast2/server/route_handler_asio.hpp (source / functions) Coverage Total Hit
Test: coverage_filtered.info Lines: 0.0 % 3 0
Test Date: 2025-11-13 15:50:43 Functions: 0.0 % 1 0

            Line data    Source code
       1              : //
       2              : // Copyright (c) 2025 Vinnie Falco (vinnie dot falco at gmail dot 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/beast2
       8              : //
       9              : 
      10              : #ifndef BOOST_BEAST2_SERVER_ROUTE_HANDLER_ASIO_HPP
      11              : #define BOOST_BEAST2_SERVER_ROUTE_HANDLER_ASIO_HPP
      12              : 
      13              : #include <boost/beast2/detail/config.hpp>
      14              : #include <boost/beast2/server/route_handler.hpp>
      15              : 
      16              : namespace boost {
      17              : namespace beast2 {
      18              : 
      19              : /** Response object for Asio HTTP route handlers
      20              : */
      21              : template<class Stream>
      22              : struct ResponseAsio : Response
      23              : {
      24              :     using stream_type = Stream;
      25              : 
      26              :     Stream& stream;
      27              : 
      28              :     template<class... Args>
      29              :     explicit
      30            0 :     ResponseAsio(
      31              :         Stream& stream_,
      32              :         Args&&... args)
      33              :         : Response(std::forward<Args>(args)...)
      34            0 :         , stream(stream_)
      35              :     {
      36            0 :     }
      37              : };
      38              : 
      39              : } // beast2
      40              : } // boost
      41              : 
      42              : #endif
        

Generated by: LCOV version 2.1