Interface: CloseEvent
Defined in: types/desktop-engine.d.ts:4784
The WebSocket connection closed
Extends
Properties
bubbles
readonly bubbles: boolean;Defined in: types/desktop-engine.d.ts:4760
Always false
Inherited from
cancelable
readonly cancelable: boolean;Defined in: types/desktop-engine.d.ts:4761
Inherited from
code
readonly code: number;Defined in: types/desktop-engine.d.ts:4786
The close code, 1006 when the connection was lost or failed
currentTarget
readonly currentTarget: unknown;Defined in: types/desktop-engine.d.ts:4758
Inherited from
defaultPrevented
readonly defaultPrevented: boolean;Defined in: types/desktop-engine.d.ts:4764
Inherited from
reason
readonly reason: string;Defined in: types/desktop-engine.d.ts:4787
target
readonly target: unknown;Defined in: types/desktop-engine.d.ts:4757
Inherited from
timeStamp
readonly timeStamp: number;Defined in: types/desktop-engine.d.ts:4763
performance.now() when the event was created
Inherited from
type
readonly type: string;Defined in: types/desktop-engine.d.ts:4756
Inherited from
wasClean
readonly wasClean: boolean;Defined in: types/desktop-engine.d.ts:4789
Whether the closing handshake completed
Methods
preventDefault()
preventDefault(): void;Defined in: types/desktop-engine.d.ts:4765
Returns
void
Inherited from
stopImmediatePropagation()
stopImmediatePropagation(): void;Defined in: types/desktop-engine.d.ts:4768
The listeners after this one aren't called
Returns
void
Inherited from
Event.stopImmediatePropagation
stopPropagation()
stopPropagation(): void;Defined in: types/desktop-engine.d.ts:4766
Returns
void
