RainwayPeer.Send method (1 of 2)
Send a binary message to this peer.
public void Send(string channel, ReadOnlySpan<byte> message)
| parameter | description |
|---|---|
| channel | Name of the channel to send the message on. |
| message | The message to be sent. |
See Also
- class RainwayPeer
- namespace Rainway.SDK
RainwayPeer.Send method (2 of 2)
Send a string message to this peer.
public void Send(string channel, string message)
| parameter | description |
|---|---|
| channel | Name of the channel to send the message on. |
| message | The message to be sent. |
Remarks
The string will be encoded to a UTF8 byte array.
See Also
- class RainwayPeer
- namespace Rainway.SDK
