OnboardPeerId class
Extension: join the session under a caller-chosen peer id instead of a
freshly minted one. Chain on OnboardOptions with
OnboardOptions.WithPeerId. The id is persisted with
the slot, so a later rejoin keeps it. A zero id is rejected with
StatusCode.ArgumentNotSupported.
Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll
public sealed class OnboardPeerId : Structure
Inherits: Structure → OnboardPeerId
Constructors
OnboardPeerId(PeerId)
public OnboardPeerId(PeerId peerId)
Parameters
| Name | Type | Description |
|---|---|---|
peerId | PeerId |
Properties
PeerId
public PeerId PeerId { get; set; }
Value: PeerId