isClosed property
bool
get
isClosed
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
bool get isClosed;