RainwayPeer class
An object representing a remote Rainway peer.
public class RainwayPeer
Public Members
name | description |
---|---|
ExternalId { get; } | A string identifying this peer in your organization. (For example: the* "username" of the peer.) |
PeerId { get; } | This peer's Rainway peer id. |
State { get; } | Gets the state of the current peer. |
Streams { get; } | The peers connected streams. |
CreateDataChannel(…) | Create a new peer data channel. This is only valid if we were the ones who created the connection. |
Disconnect() | Disconnect from this peer. |
Send(…) | Send a string message to this peer. (2 methods) |
See Also
- namespace Rainway.SDK