blob: d08aa6ce7c2229ab29e3d1724143f2660b8fb2e9 [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.
#include "quic/platform/api/quic_export.h"
namespace quic {
// Shared interface between QuicTransportClientSession and
// QuicTransportServerSession.
class QUIC_EXPORT_PRIVATE QuicTransportSessionInterface {
virtual ~QuicTransportSessionInterface() {}
// Indicates whether the client indication has been sent/received and the
// connection is thus ready to send/receive application data. Note that the
// expectation for this API is that once it becomes true, it will never
// transition to false.
virtual bool IsSessionReady() const = 0;
} // namespace quic