Coverage Report

Created: 2023-11-12 09:30

/proc/self/cwd/source/common/http/default_server_string.h
Line
Count
Source
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
9.92k
  static const std::string& get() { CONSTRUCT_ON_FIRST_USE(std::string, "envoy"); }
16
};
17
18
} // namespace Http
19
} // namespace Envoy