Class SocketResponsePayload
A socket response payload.
public class SocketResponsePayload
- Inheritance
-
SocketResponsePayload
- Derived
- Inherited Members
- Extension Methods
Properties
Channel
The channel (system)
[JsonProperty("channel")]
public string? Channel { get; set; }
Property Value
Columns
Displays Column information from the Database.
Will always be an array but can be empty
[JsonProperty("columns")]
public List<object>? Columns { get; set; }
Property Value
CommitTimestamp
The timestamp of the commit referenced.
Will either be a string or null
[JsonProperty("commit_timestamp")]
public DateTimeOffset? CommitTimestamp { get; set; }
Property Value
Errors
Either null or an array of errors. See: https://github.com/supabase/walrus/#error-states
[JsonProperty("errors", NullValueHandling = NullValueHandling.Ignore)]
public List<string>? Errors { get; set; }
Property Value
Extension
The extension (system)
[JsonProperty("extension")]
public string? Extension { get; set; }
Property Value
Joins
Presence joins (parsed later)
[JsonProperty("joins")]
public object? Joins { get; set; }
Property Value
Leaves
Presence leaves (parsed later)
[JsonProperty("leaves")]
public object? Leaves { get; set; }
Property Value
Message
The message (system)
[JsonProperty("message")]
public string? Message { get; set; }
Property Value
OldRecord
The previous state of the referenced record.
Will always be an object but can be empty.
[JsonProperty("old_record")]
public object? OldRecord { get; set; }
Property Value
Record
The record referenced.
Will always be an object but can be empty.
[JsonProperty("record")]
public object? Record { get; set; }
Property Value
Response
The unparsed response object
[JsonProperty("response")]
public object? Response { get; set; }
Property Value
Schema
The Schema affected.
[JsonProperty("schema")]
public string? Schema { get; set; }
Property Value
Status
Status of response
[JsonProperty("status")]
public string? Status { get; set; }
Property Value
Table
The Table affected.
[JsonProperty("table")]
public string? Table { get; set; }
Property Value
Type
The parsed type.
[JsonIgnore]
public Constants.EventType Type { get; }
Property Value
_type
The action type performed (INSERT, UPDATE, DELETE, etc.)
[JsonProperty("type")]
public string? _type { get; set; }