Class SocketResponse
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
Payload
The payload/response.
[JsonProperty("payload")]
public SocketResponsePayload? Payload { get; set; }
Property Value
Ref
An internal reference to this particular feedback loop.
[JsonProperty("ref")]
public string? Ref { get; set; }
Property Value
Topic
The internal realtime topic.
[JsonProperty("topic")]
public string? Topic { get; set; }
Property Value
_event
The internal, raw event given by the socket
[JsonProperty("event")]
public string? _event { get; set; }