Room.BroadcastMessageAsync
public async Task<bool> BroadcastMessageAsync(byte[] data, bool includeSelf = false)
Sends arbitrary data to a all remote peers in this room.
Parameters
Name | Type | Description |
---|---|---|
data | Byte[] | arbitrary byte array |
includeSelf | Boolean | idicates whether this current peer get the message too |
Returns
Type | Description |
---|---|
Task<Boolean> | true if data was send or false |