DarkWS.DarkWsBroadcast
DarkWS
DarkWS
DarkWsBroadcast Class
Backplane message carrying the recipient selector, action name, and optional JSON data.
public sealed record DarkWsBroadcast : System.IEquatable<DarkWS.DarkWsBroadcast>
Inheritance System.Object → DarkWsBroadcast
Implements System.IEquatable<DarkWsBroadcast>
Constructors
DarkWsBroadcast(DarkWsTarget, string, string, Nullable<JsonElement>) Constructor
Backplane message carrying the recipient selector, action name, and optional JSON data.
public DarkWsBroadcast(DarkWS.DarkWsTarget Target, string? TargetId, string Action, System.Nullable<System.Text.Json.JsonElement> Data);
Parameters
Target DarkWsTarget
Recipient selector.
TargetId System.String
Connection, session, or group key; null for all recipients.
Action System.String
Application action name.
Data System.Nullable<System.Text.Json.JsonElement>
Optional result or notification data.
Properties
DarkWsBroadcast.Action Property
Application action name.
public string Action { get; init; }
Property Value
DarkWsBroadcast.Data Property
Optional result or notification data.
public System.Nullable<System.Text.Json.JsonElement> Data { get; init; }
Property Value
System.Nullable<System.Text.Json.JsonElement>
DarkWsBroadcast.Target Property
Recipient selector.
public DarkWS.DarkWsTarget Target { get; init; }
Property Value
DarkWsBroadcast.TargetId Property
Connection, session, or group key; null for all recipients.
public string? TargetId { get; init; }