Table of Contents

Class Constants

Namespace
Supabase.Realtime
Assembly
Supabase.Realtime.dll

Shared constants for Realtime

public static class Constants
Inheritance
Constants
Inherited Members

Fields

ChannelAccessToken

The event name used to send an access_token to the Phoenix server

public const string ChannelAccessToken = "access_token"

Field Value

string

ChannelEventBroadcast

Phoenix Server Event: BROADCAST

public const string ChannelEventBroadcast = "broadcast"

Field Value

string

ChannelEventClose

Phoenix Socket Server Event: CLOSE

public static string ChannelEventClose

Field Value

string

ChannelEventError

Phoenix Socket Server Event: ERROR

public static string ChannelEventError

Field Value

string

ChannelEventJoin

Phoenix Socket Server Event: JOIN

public const string ChannelEventJoin = "phx_join"

Field Value

string

ChannelEventLeave

Phoenix Socket Server Event: LEAVE

public const string ChannelEventLeave = "phx_leave"

Field Value

string

ChannelEventPostgresChanges

Phoenix Server Event: POSTGRES_CHANGES

public const string ChannelEventPostgresChanges = "postgres_changes"

Field Value

string

ChannelEventPresenceDiff

Phoenix Server Event: PRESENCE_DIFF

public const string ChannelEventPresenceDiff = "presence_diff"

Field Value

string

ChannelEventPresenceState

Phoenix Server Event: PRESENCE_STATE

public const string ChannelEventPresenceState = "presence_state"

Field Value

string

ChannelEventReply

Phoenix Socket Server Event: REPLY

public const string ChannelEventReply = "phx_reply"

Field Value

string

ChannelEventSystem

Phoenix Socket Server Event: SYSTEM

public const string ChannelEventSystem = "system"

Field Value

string

DefaultTimeout

Timeout interval for requests (used in Socket and Push)

public const int DefaultTimeout = 10000

Field Value

int

PhoenixStatusError

Phoenix Server Event: ERROR

public const string PhoenixStatusError = "error"

Field Value

string

PhoenixStatusOk

Phoenix Server Event: OK

public const string PhoenixStatusOk = "ok"

Field Value

string

TransportWebsocket

The transport type, used with Phoenix server implementations and appended on the EndpointUrl

public const string TransportWebsocket = "websocket"

Field Value

string