interface CloseEvent
extends Event
Properties Jump to heading
readonly
Jump to headingcode: number
Returns the WebSocket connection close code provided by the server.
readonly
Jump to headingreason: string
Returns the WebSocket connection close reason provided by the server.
readonly
Jump to headingwasClean: boolean
Returns true if the connection closed cleanly; false otherwise.