Skip to content

Interface: CloseDetail ​

Defined in: client/index.ts:64

Why a connection closed: the WebSocket close code and reason.

Properties ​

PropertyTypeDescriptionDefined in
codenumberThe WebSocket close code, e.g. CloseCode.RoomFull, or 1006 for a connection that was lost.client/index.ts:66
reasonstringThe close reason, e.g. room_full, or what the room passed to removePlayer.client/index.ts:68

MIT licence. Tickflare is an independent project and is not affiliated with Cloudflare.