1
#pragma once
2

            
3
#include <memory>
4

            
5
namespace Envoy {
6
namespace Http {
7

            
8
// Store quic helpers which can be shared between connections and must live beyond the lifetime of
9
// individual connections. When used in HTTP/3 upstream, it should be owned by cluster and shared
10
// across its HTTP/3 connection pools. This an opaque placeholder is needed so that an
11
// implementation can be passed around while the QUICHE members which are behind ENVOY_ENABLE_QUIC
12
// preprocessor in the actual implementation can be hidden from the Envoy intefaces.
13
struct PersistentQuicInfo {
14
2014
  virtual ~PersistentQuicInfo() = default;
15
};
16

            
17
using PersistentQuicInfoPtr = std::unique_ptr<PersistentQuicInfo>;
18

            
19
} // namespace Http
20
} // namespace Envoy