#include "quiche/quic/test_tools/web_transport_resets_backend.h"
#include <memory>
#include <string>
#include <utility>
#include "quiche/quic/core/web_transport_interface.h"
#include "quiche/quic/tools/web_transport_test_visitors.h"
#include "quiche/common/quiche_circular_deque.h"
namespace quic {
namespace test {
namespace {
class ResetsVisitor;
class BidirectionalEchoVisitorWithLogging
: public WebTransportBidirectionalEchoVisitor { … };
class ResetsVisitor : public WebTransportVisitor { … };
void BidirectionalEchoVisitorWithLogging::OnResetStreamReceived(
WebTransportStreamError error) { … }
void BidirectionalEchoVisitorWithLogging::OnStopSendingReceived(
WebTransportStreamError error) { … }
}
QuicSimpleServerBackend::WebTransportResponse WebTransportResetsBackend(
const quiche::HttpHeaderBlock& ,
WebTransportSession* session) { … }
}
}