RainwayConnection class
A connection to the Rainway network over which peer connection requests are transmitted.
public class RainwayConnection : IDisposable
Public Members
| name | description |
|---|---|
| ExternalId { get; } | The optional user-specified string identifying the local peer. |
| Id { get; } | A numeric ID identifying the local peer. A Peer ID identifies a Rainway peer to other peers. |
| Peers { get; } | List of peers connected via this Rainway connection. |
| event Close | Raised when the connection to Rainway is closed. |
| event PeerRequest | Raised when a remote peer wants to connect to this device. |
| ConnectAsync(…) | Connect to another peer on the Rainway Network. |
| Dispose() | Destroys the Rainway network connection, including all sub resources. |
See Also
- namespace Rainway.SDK
