Class BroadcastOptions
Configures broadcast behavior for a channel: whether the client receives its own messages, whether the server acknowledges sends, and whether past messages are replayed from history.
public class BroadcastOptions
- Inheritance
-
BroadcastOptions
- Inherited Members
Constructors
BroadcastOptions(bool, bool)
Initializes broadcast options
public BroadcastOptions(bool broadcastSelf = false, bool broadcastAck = false)
Parameters
Properties
BroadcastAck
ack option instructs server to acknowledge that broadcast message was received
[JsonProperty("ack")]
public bool BroadcastAck { get; set; }
Property Value
BroadcastSelf
self option enables client to receive message it broadcast
[JsonProperty("self")]
public bool BroadcastSelf { get; set; }
Property Value
Replay
replay option instructs server to replay broadcast messages
[JsonProperty("replay", NullValueHandling = NullValueHandling.Ignore)]
public BroadcastOptions.ReplayOptions? Replay { get; set; }