property CloseEvent.wasClean Returns true if the connection closed cleanly; false otherwise. Type boolean