// Copyright 2014 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_HPACK_ENTRY_H_ #define QUICHE_HTTP2_HPACK_HPACK_ENTRY_H_ #include <cstddef> #include <string> #include <utility> #include "absl/strings/string_view.h" #include "quiche/common/platform/api/quiche_export.h" // All section references below are to // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-08 namespace spdy { // The constant amount added to name().size() and value().size() to // get the size of an HpackEntry as defined in 5.1. inline constexpr size_t kHpackEntrySizeOverhead = …; // A structure for looking up entries in the static and dynamic tables. struct QUICHE_EXPORT HpackLookupEntry { … }; // A structure for an entry in the static table (3.3.1) // and the header table (3.3.2). class QUICHE_EXPORT HpackEntry { … }; } // namespace spdy #endif // QUICHE_HTTP2_HPACK_HPACK_ENTRY_H_