closeStatus property

  1. @override
CloseStatus? get closeStatus
override

How the connection was closed, by either side: the code and reason of the close frame. null while it is open.

Implementation

@override
CloseStatus? get closeStatus => _closeStatus;