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

参数

data 要发送的数据。
connectionId The connection ID of the client sending the data.

描述

Sends an ASCII or binary message to the ChannelService. Depending on how the channel's handler processes the message, it may also be sent to other connections.


Did you find this page useful? Please give it a rating: