Add a simple integration test for QuicTransport.
gfe-relnote: n/a (not used in production)
PiperOrigin-RevId: 276340873
Change-Id: Ie2caa7e6d5389f9170d79f0b2e471c36dbfbcbc2
diff --git a/quic/quic_transport/quic_transport_client_session.h b/quic/quic_transport/quic_transport_client_session.h
index a39f112..2e575e1 100644
--- a/quic/quic_transport/quic_transport_client_session.h
+++ b/quic/quic_transport/quic_transport_client_session.h
@@ -53,6 +53,10 @@
return crypto_stream_.get();
}
+ // Returns true once the encryption has been established and the client
+ // indication has been sent. No application data will be read or written
+ // before the connection is ready. Once the connection becomes ready, this
+ // method will never return false.
bool IsSessionReady() const override { return ready_; }
QuicStream* CreateIncomingStream(QuicStreamId id) override;