CloseEvent$Typings extension
Properties
-
code
→ num
-
Returns the WebSocket connection close code provided by the server.
no setter
-
reason
→ String
-
Returns the WebSocket connection close reason provided by the server.
no setter
-
wasClean
→ bool
-
Returns true if the connection closed cleanly; false otherwise.
no setter