closeCode property

int? closeCode

The close code set when the WebSocket connection is closed.

Before the connection has been closed, this will be null.

Implementation

int? get closeCode => _webSocket.closeCode;