Table of Contents

Class BroadcastOptions

Namespace
Supabase.Realtime.Broadcast
Assembly
Supabase.Realtime.dll

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

broadcastSelf bool
broadcastAck bool

Properties

BroadcastAck

ack option instructs server to acknowledge that broadcast message was received

[JsonProperty("ack")]
public bool BroadcastAck { get; set; }

Property Value

bool

BroadcastSelf

self option enables client to receive message it broadcast

[JsonProperty("self")]
public bool BroadcastSelf { get; set; }

Property Value

bool

Replay

replay option instructs server to replay broadcast messages

[JsonProperty("replay", NullValueHandling = NullValueHandling.Ignore)]
public BroadcastOptions.ReplayOptions? Replay { get; set; }

Property Value

BroadcastOptions.ReplayOptions