Skip to content

Hmp1ClientHandle

Namespace: Hex1b

Assembly: Hex1b.dll

Handle representing a connected muxer client. Dispose to disconnect.

csharp
public sealed class Hmp1ClientHandle : IAsyncDisposable

Inheritance

ObjectHmp1ClientHandle

Implements

Properties

DisplayName

Gets the optional human-readable label this client provided in its .

Returns: String

csharp
public string? DisplayName { get; }

IsConnected

Gets whether the client is still connected.

Returns: Boolean

csharp
public bool IsConnected { get; }

IsPrimary

Gets whether this client is currently the primary peer.

Returns: Boolean

csharp
public bool IsPrimary { get; }

PeerId

Gets the peer ID assigned by the server when this client connected.

Returns: String

csharp
public string PeerId { get; }

RemoteHeight

Gets the remote client's terminal height (from the last Resize frame received).

Returns: Int32

csharp
public int RemoteHeight { get; }

RemoteWidth

Gets the remote client's terminal width (from the last Resize frame received).

Returns: Int32

csharp
public int RemoteWidth { get; }

Methods

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

Returns: ValueTask

A task that represents the asynchronous dispose operation.

csharp
public ValueTask DisposeAsync()

Released under the MIT License.