DataChannel class
A data channel from our device to another Peer on the Rainway Network.
public class DataChannel : IDisposable
Public Members
| name | description |
|---|---|
| Id { get; } | The id (label) of the data channel. |
| Mode { get; } | The mode of the data channel. |
| Peer { get; } | The peer that owns this data channel. |
| event Message | Raised when a message arrives. |
| Dispose() | Destroys the peer connection, including all sub resources. |
| Request(…) | 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. (2 methods) |
| Send(…) | Sends a text message via this data channel, by encoding it as UTF-8. (2 methods) |
See Also
- namespace Rainway.SDK
