blob: 01c2d5f4237e1a6a708871a3500b41c0faae51a3 [file] [log] [blame]
// 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 "net/third_party/quiche/src/quic/platform/api/quic_export.h"
#include "net/third_party/quiche/src/common/platform/api/quiche_string_piece.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(quiche::QuicheStringPiece data) = 0;
};
} // namespace quic
#endif // QUICHE_QUIC_CORE_QPACK_QPACK_STREAM_RECEIVER_H_