blob: 43fd297a0a2285d7ee2783616c7238a285a69a94 [file] [log] [blame]
// Copyright (c) 2018 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.
#include <vector>
#include "quiche/quic/platform/api/quic_export.h"
#include "quiche/spdy/core/hpack/hpack_constants.h"
#include "quiche/spdy/core/hpack/hpack_static_table.h"
namespace quic {
using QpackStaticEntry = spdy::HpackStaticEntry;
using QpackStaticTable = spdy::HpackStaticTable;
// QPACK static table defined at
QUIC_EXPORT_PRIVATE const std::vector<QpackStaticEntry>&
// Returns a QpackStaticTable instance initialized with kQpackStaticTable.
// The instance is read-only, has static lifetime, and is safe to share amoung
// threads. This function is thread-safe.
QUIC_EXPORT_PRIVATE const QpackStaticTable& ObtainQpackStaticTable();
} // namespace quic