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