blob: d7c4b550b1be6b2a9ebd2e107d011d85f9593f25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2019 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_QUIC_CORE_QPACK_QPACK_STREAM_RECEIVER_H_
#define QUICHE_QUIC_CORE_QPACK_QPACK_STREAM_RECEIVER_H_
#include "absl/strings/string_view.h"
#include "net/third_party/quiche/src/quic/platform/api/quic_export.h"
namespace quic {
// This interface decodes QPACK data that are received on a QpackReceiveStream.
class QUIC_EXPORT_PRIVATE QpackStreamReceiver {
public:
virtual ~QpackStreamReceiver() = default;
// Decode data.
virtual void Decode(absl::string_view data) = 0;
};
} // namespace quic
#endif // QUICHE_QUIC_CORE_QPACK_QPACK_STREAM_RECEIVER_H_
|