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