Lines
100 %
Functions
#pragma once
#include <cstddef>
#include <cstdint>
namespace Envoy {
namespace Http {
/**
* Possible HTTP connection/request protocols. The parallel NumProtocols constant allows defining
* fixed arrays for each protocol, but does not pollute the enum.
*/
enum class Protocol : uint8_t { Http10, Http11, Http2, Http3 };
const size_t NumProtocols = 4;
} // namespace Http
} // namespace Envoy