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 Parameter | Default type |
|---|---|
Command | unknown |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
t | "cmd" | Frame type. | protocol.ts:47 |
id | number | Chosen by the client, unique per connection, echoed in the answer. | protocol.ts:49 |
data | Command | The command, as the room's parseCommand will receive it. | protocol.ts:51 |