기술 자료

Unity Engine

Unity Engine

Send

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.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

Send(string)

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.
public void Send(string data)

Parameters

data

Data to send.

Send(byte[])

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.
public void Send(byte[] data)

Parameters

data

Data to send.

Send(int, byte[])

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.
public static void Send(int connectionId, byte[] data)

Parameters

connectionId

The connection ID of the client sending the data.

data

Data to send.