Index: lib/src/client.dart |
diff --git a/lib/src/client.dart b/lib/src/client.dart |
index f63fde6cb8ca4d60d2299dcdb0bb0624d191f048..763a9871adb7c257e85171d8bdab23d10c9e5557 100644 |
--- a/lib/src/client.dart |
+++ b/lib/src/client.dart |
@@ -37,6 +37,9 @@ class Client { |
/// This is the same future that's returned by [listen]. |
Future get done => _streams.done; |
+ /// Whether the connection is closed. |
+ bool get isClosed => _streams.isClosed; |
+ |
/// Creates a [Client] that writes requests to [requests] and reads responses |
/// from [responses]. |
/// |