blob: 471bdfb7553a4bf6788a315b7ac3f6ce6dc7f559 [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// Copyright (c) 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef QUICHE_QUIC_TOOLS_QUIC_SIMPLE_CLIENT_STREAM_H_
6#define QUICHE_QUIC_TOOLS_QUIC_SIMPLE_CLIENT_STREAM_H_
7
QUICHE team5be974e2020-12-29 18:35:24 -05008#include "quic/core/http/quic_spdy_client_stream.h"
QUICHE teama6ef0a62019-03-07 20:34:33 -05009
10namespace quic {
11
12class QuicSimpleClientStream : public QuicSpdyClientStream {
13 public:
14 QuicSimpleClientStream(QuicStreamId id,
15 QuicSpdyClientSession* session,
16 StreamType type,
17 bool drop_response_body)
18 : QuicSpdyClientStream(id, session, type),
renjietange5c12382019-11-07 10:13:14 -080019 drop_response_body_(drop_response_body) {}
QUICHE teama6ef0a62019-03-07 20:34:33 -050020 void OnBodyAvailable() override;
QUICHE teama6ef0a62019-03-07 20:34:33 -050021
QUICHE teama6ef0a62019-03-07 20:34:33 -050022 private:
23 const bool drop_response_body_;
QUICHE teama6ef0a62019-03-07 20:34:33 -050024};
25
26} // namespace quic
27
28#endif // QUICHE_QUIC_TOOLS_QUIC_SIMPLE_CLIENT_STREAM_H_