Sent to clients using WebSockets when the connection is closed.
The CloseEvent object has these types of members:
The CloseEvent object has these methods.
Initializes the close event.
The CloseEvent object has these properties.
The connection close-code provided by the server.
Server close-connection reason.
Indicates whether the server connection closed cleanly.