Skip to content

DiscoveredSessionPayload

Namespace: Dotsider.Core.Protocol

Assembly: Dotsider.Core.dll

A live dotsider session discovered over its diagnostics socket. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.

public sealed record DiscoveredSessionPayload : IEquatable<DiscoveredSessionPayload>

ObjectDiscoveredSessionPayload

DiscoveredSessionPayload(int, string, JsonElement?)

Section titled “DiscoveredSessionPayload(int, string, JsonElement?)”

A live dotsider session discovered over its diagnostics socket. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.

Parameters:

public DiscoveredSessionPayload(int Pid, string SocketPath, JsonElement? Info)

Returns: Nullable<JsonElement>

public JsonElement? Info { get; init; }

Returns: Int32

public int Pid { get; init; }

Returns: String

public string SocketPath { get; init; }

Deconstruct(out int, out string, out JsonElement?)

Section titled “Deconstruct(out int, out string, out JsonElement?)”

Parameters:

public void Deconstruct(out int Pid, out string SocketPath, out JsonElement? Info)

Parameters:

Returns: Boolean

public bool Equals(DiscoveredSessionPayload? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(DiscoveredSessionPayload?, DiscoveredSessionPayload?)

Section titled “operator !=(DiscoveredSessionPayload?, DiscoveredSessionPayload?)”

Parameters:

Returns: Boolean

public static bool operator !=(DiscoveredSessionPayload? left, DiscoveredSessionPayload? right)

operator ==(DiscoveredSessionPayload?, DiscoveredSessionPayload?)

Section titled “operator ==(DiscoveredSessionPayload?, DiscoveredSessionPayload?)”

Parameters:

Returns: Boolean

public static bool operator ==(DiscoveredSessionPayload? left, DiscoveredSessionPayload? right)