PeerRequestEvent class
An event that occurs when a remote peer requests to connect.
public sealed class PeerRequestEvent : BaseRequestEvent<PeerOptions, Peer>
Public Members
| name | description |
|---|---|
| ExternalId { get; } | The ExternalId of the peer requesting the connection. |
| Id { get; } | The ID of the peer requesting the connection. |
Remarks
A RainwayConnection can choose to AcceptAsync or RejectAsync the request.
See Also
- class BaseRequestEvent<TAcceptedOptions,TAccepted>
- class PeerOptions
- class Peer
- namespace Rainway.SDK.Events
