Interface: CloseDetail
Defined in: client/index.ts:64
Why a connection closed: the WebSocket close code and reason.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
code | number | The WebSocket close code, e.g. CloseCode.RoomFull, or 1006 for a connection that was lost. | client/index.ts:66 |
reason | string | The close reason, e.g. room_full, or what the room passed to removePlayer. | client/index.ts:68 |