Class ChannelOptions | realtime-csharp (original) (raw)

Namespace

Supabase.Realtime.Channel

Assembly

Supabase.Realtime.dll

Channel Options

public class ChannelOptions

Inheritance

ChannelOptions

Inherited Members

Constructors

ChannelOptions(ClientOptions, Func<string?>, JsonSerializerSettings)

The Channel Options (typically only called from within the Client)

public ChannelOptions(ClientOptions clientOptions, Func<string?> retrieveAccessToken, JsonSerializerSettings serializerSettings)

Parameters

clientOptions ClientOptions

retrieveAccessToken Func<string>

serializerSettings JsonSerializerSettings

Properties

ClientOptions

The Client Options

public ClientOptions ClientOptions { get; }

Property Value

ClientOptions

Parameters

Parameters that are sent to the channel when opened (JSON Serializable)

public Dictionary<string, string>? Parameters { get; set; }

Property Value

Dictionary<string, string>

RetrieveAccessToken

A function that returns the current access token.

public Func<string?> RetrieveAccessToken { get; }

Property Value

Func<string>

SerializerSettings

The Serializer Settings

public JsonSerializerSettings SerializerSettings { get; }

Property Value

JsonSerializerSettings