Version: 2020.3
public static void Send (int connectionId, byte[] data);
public static void Send (int connectionId, string data);

参数

connectionId The connection ID. This matches ChannelClientInfo.channelClientId.
data Data to send to the connected client.

描述

Sends a message to a specific connection. The message can be binary or UTF8.