chromium/net/third_party/quiche/src/quiche/web_transport/complete_buffer_visitor.h

// Copyright 2023 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_WEB_TRANSPORT_COMPLETE_BUFFER_VISITOR_H_
#define QUICHE_WEB_TRANSPORT_COMPLETE_BUFFER_VISITOR_H_

#include <optional>
#include <utility>

#include "quiche/common/quiche_callbacks.h"
#include "quiche/web_transport/web_transport.h"

namespace webtransport {

// A visitor that will buffer the entirety of the incoming stream into a string,
// and will send a pre-specified string all at once.
class QUICHE_EXPORT CompleteBufferVisitor : public StreamVisitor {};

}  // namespace webtransport

#endif  // QUICHE_WEB_TRANSPORT_COMPLETE_BUFFER_VISITOR_H_