Version: 2020.2
public static void Broadcast (int channelId, byte[] data);
public static void Broadcast (int channelId, string data);

参数

channelId The ID of the channel to send the message to.
data The message to send. It can be binary or UTF8.

描述

Sends a message to all of a specific channel's ChannelClient connections.