WebWebSocketsCloseEventinterface CloseEventextends EventProperties ##code: number readonlyReturns the WebSocket connection close code provided by the server. #reason: string readonlyReturns the WebSocket connection close reason provided by the server. #wasClean: boolean readonlyReturns true if the connection closed cleanly; false otherwise. variable CloseEventProperties ##prototype: CloseEvent readonly
interface CloseEventextends EventProperties ##code: number readonlyReturns the WebSocket connection close code provided by the server. #reason: string readonlyReturns the WebSocket connection close reason provided by the server. #wasClean: boolean readonlyReturns true if the connection closed cleanly; false otherwise.