DataChannel.Request method (1 of 2)
Sends a binary message via this data channel, expecting a response.
public Task<byte[]> Request(byte[] data)
parameter | description |
---|---|
data | binary request payload |
See Also
- class DataChannel
- namespace Rainway.SDK
DataChannel.Request method (2 of 2)
Sends a text message via this data channel, by encoding it as UTF-8. Expects a remote response, which is decoded as UTF-8 upon receipt.
public Task<string> Request(string text)
parameter | description |
---|---|
text | request payload |
See Also
- class DataChannel
- namespace Rainway.SDK