Interface INetworkConnection
interface INetworkConnection { get isConnected(): boolean; get isInRoom(): boolean; send(key: string,
data: | null | string | number | boolean | object | IModel,
queue: SendQueue): unknown; } Accessors
isConnected
- get isConnected(): boolean
Returns boolean
isInRoom
- get isInRoom(): boolean
Returns boolean
Methods
send
- send(key, data, queue): unknown
Parameters
- key: string
- data:
| null
| string
| number
| boolean
| object
| IModel - queue: SendQueue
Returns unknown