Struct SignalContent
Represents a signal to be sent.
public readonly struct SignalContent
- Inherited Members
Constructors
SignalContent(string, string)
Creates a signal.
public SignalContent(string type, string data)
Parameters
typestringType of data that is being sent to the client. This cannot exceed 128 bytes.
datastringPayload that is being sent to the client. This cannot exceed 8kb.
Properties
Data
Payload that is being sent to the client. This cannot exceed 8kb.
[JsonPropertyOrder(1)]
public string Data { get; }
Property Value
Type
Type of data that is being sent to the client. This cannot exceed 128 bytes.
[JsonPropertyOrder(0)]
public string Type { get; }