Skip to content

Hmp1ClientConnectedEventArgs

Namespace: Hex1b

Assembly: Hex1b.dll

Arguments for the callback. Fires after a new HMP v1 client completes its ClientHello → Hello → StateSync handshake.

csharp
public sealed class Hmp1ClientConnectedEventArgs : EventArgs

Inheritance

ObjectEventArgsHmp1ClientConnectedEventArgs

Properties

DefaultRole

The role hint the client supplied, if any.

Returns: Nullable<Hmp1Role>

csharp
public Hmp1Role? DefaultRole { get; }

DisplayName

The display name the client supplied in its ClientHello.

Returns: String

csharp
public string? DisplayName { get; }

PeerId

The peer ID the producer assigned to this client.

Returns: String

csharp
public string PeerId { get; }

Released under the MIT License.