Closing
Defined in: src/packets/Closing.ts:8
When your websocket connection is being closed by the server, you may receive a Closing packet.
https://docs.reconnected.cc/chatbox/websocket.html#closing-packet
Extends
Section titled “Extends”Properties
Section titled “Properties”closeReason
Section titled “closeReason”closeReason:
string
Defined in: src/packets/Closing.ts:10
The reason your connection is being closed.
ok:
boolean
Defined in: src/packets/Data.ts:2
Inherited from
Section titled “Inherited from”reason
Section titled “reason”reason:
string
Defined in: src/packets/Closing.ts:13
A human-readable message describing the close reason.
type:
string
Defined in: src/packets/Data.ts:3