property CloseEvent.code

Returns the WebSocket connection close code provided by the server.

Type

number