// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef QUICHE_HTTP2_HPACK_HTTP2_HPACK_CONSTANTS_H_ #define QUICHE_HTTP2_HPACK_HTTP2_HPACK_CONSTANTS_H_ // Enum HpackEntryType identifies the 5 basic types of HPACK Block Entries. // // See the spec for details: // https://http2.github.io/http2-spec/compression.html#rfc.section.6 #include <ostream> #include <string> #include "quiche/common/platform/api/quiche_export.h" namespace http2 { const size_t kFirstDynamicTableIndex = …; enum class HpackEntryType { … }; // Returns the name of the enum member. QUICHE_EXPORT std::string HpackEntryTypeToString(HpackEntryType v); // Inserts the name of the enum member into |out|. QUICHE_EXPORT std::ostream& operator<<(std::ostream& out, HpackEntryType v); } // namespace http2 #endif // QUICHE_HTTP2_HPACK_HTTP2_HPACK_CONSTANTS_H_