1
#pragma once
2

            
3
#include <cstddef>
4
#include <cstdint>
5

            
6
namespace Envoy {
7
namespace Http {
8

            
9
/**
10
 * Possible HTTP connection/request protocols. The parallel NumProtocols constant allows defining
11
 * fixed arrays for each protocol, but does not pollute the enum.
12
 */
13
enum class Protocol : uint8_t { Http10, Http11, Http2, Http3 };
14
const size_t NumProtocols = 4;
15

            
16
} // namespace Http
17
} // namespace Envoy