isClosed property

  1. @override
bool get isClosed
override

Whether the web-socket is closed.

May return false positives (true), if the peer is disconnected but the disconnect has not yet been detected.

Implementation

@override
bool get isClosed => _events.isClosed;