Class Constants
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
ChannelEventBroadcast
Phoenix Server Event: BROADCAST
public const string ChannelEventBroadcast = "broadcast"
Field Value
ChannelEventClose
Phoenix Socket Server Event: CLOSE
public static string ChannelEventClose
Field Value
ChannelEventError
Phoenix Socket Server Event: ERROR
public static string ChannelEventError
Field Value
ChannelEventJoin
Phoenix Socket Server Event: JOIN
public const string ChannelEventJoin = "phx_join"
Field Value
ChannelEventLeave
Phoenix Socket Server Event: LEAVE
public const string ChannelEventLeave = "phx_leave"
Field Value
ChannelEventPostgresChanges
Phoenix Server Event: POSTGRES_CHANGES
public const string ChannelEventPostgresChanges = "postgres_changes"
Field Value
ChannelEventPresenceDiff
Phoenix Server Event: PRESENCE_DIFF
public const string ChannelEventPresenceDiff = "presence_diff"
Field Value
ChannelEventPresenceState
Phoenix Server Event: PRESENCE_STATE
public const string ChannelEventPresenceState = "presence_state"
Field Value
ChannelEventReply
Phoenix Socket Server Event: REPLY
public const string ChannelEventReply = "phx_reply"
Field Value
ChannelEventSystem
Phoenix Socket Server Event: SYSTEM
public const string ChannelEventSystem = "system"
Field Value
DefaultTimeout
Timeout interval for requests (used in Socket and Push)
public const int DefaultTimeout = 10000
Field Value
PhoenixStatusError
Phoenix Server Event: ERROR
public const string PhoenixStatusError = "error"
Field Value
PhoenixStatusOk
Phoenix Server Event: OK
public const string PhoenixStatusOk = "ok"
Field Value
TransportWebsocket
The transport type, used with Phoenix server implementations and appended on the EndpointUrl
public const string TransportWebsocket = "websocket"