LCOV - code coverage report
Current view: top level - source/common/http - default_server_string.h (source / functions) Hit Total Coverage
Test: coverage.dat Lines: 1 1 100.0 %
Date: 2024-01-05 06:35:25 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <string>
       4             : 
       5             : #include "source/common/common/macros.h"
       6             : 
       7             : namespace Envoy {
       8             : namespace Http {
       9             : 
      10             : class DefaultServerString {
      11             : public:
      12             :   /**
      13             :    * @return the default HTTP server header string.
      14             :    */
      15         336 :   static const std::string& get() { CONSTRUCT_ON_FIRST_USE(std::string, "envoy"); }
      16             : };
      17             : 
      18             : } // namespace Http
      19             : } // namespace Envoy

Generated by: LCOV version 1.15