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