Skip to content

Interface: CommandFrame<Command> ​

Defined in: protocol.ts:45

A command for the room. Answered with ack or reject carrying the same id.

Type Parameters ​

Type ParameterDefault type
Commandunknown

Properties ​

PropertyTypeDescriptionDefined in
t"cmd"Frame type.protocol.ts:47
idnumberChosen by the client, unique per connection, echoed in the answer.protocol.ts:49
dataCommandThe command, as the room's parseCommand will receive it.protocol.ts:51

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