LCOV - code coverage report
Current view: top level - source/common/http - date_provider.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 "envoy/common/pure.h"
       4             : #include "envoy/http/header_map.h"
       5             : 
       6             : namespace Envoy {
       7             : namespace Http {
       8             : 
       9             : /**
      10             :  * Fills headers with a date header.
      11             :  */
      12             : class DateProvider {
      13             : public:
      14         266 :   virtual ~DateProvider() = default;
      15             : 
      16             :   /**
      17             :    * Set the Date header potentially using a cached value.
      18             :    * @param headers supplies the headers to fill.
      19             :    */
      20             :   virtual void setDateHeader(ResponseHeaderMap& headers) PURE;
      21             : };
      22             : 
      23             : } // namespace Http
      24             : } // namespace Envoy

Generated by: LCOV version 1.15