Skip to main content
Version: 0.9.0 (next)

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

NameTypeDescription
peerIdPeerId

Properties​

PeerId​

public PeerId PeerId { get; set; }

Value: PeerId