Table of Contents

Class SocketResponse

Namespace
Supabase.Realtime.Socket
Assembly
Supabase.Realtime.dll

Representation of a Socket Response.

public class SocketResponse : IRealtimeSocketResponse
Inheritance
SocketResponse
Implements
Derived
Inherited Members

Constructors

SocketResponse(JsonSerializerSettings)

Represents a socket response

public SocketResponse(JsonSerializerSettings serializerSettings)

Parameters

serializerSettings JsonSerializerSettings

Properties

Event

The typed, parsed event given by this library.

[JsonIgnore]
public Constants.EventType Event { get; }

Property Value

Constants.EventType

Payload

The payload/response.

[JsonProperty("payload")]
public SocketResponsePayload? Payload { get; set; }

Property Value

SocketResponsePayload

Ref

An internal reference to this particular feedback loop.

[JsonProperty("ref")]
public string? Ref { get; set; }

Property Value

string

Topic

The internal realtime topic.

[JsonProperty("topic")]
public string? Topic { get; set; }

Property Value

string

_event

The internal, raw event given by the socket

[JsonProperty("event")]
public string? _event { get; set; }

Property Value

string