Class SocketResponse<T>
A SocketResponse with support for Generically typed Payload
public class SocketResponse<T> : SocketResponse, IRealtimeSocketResponse where T : class
Type Parameters
T
- Inheritance
-
SocketResponse<T>
- Implements
- Derived
- Inherited Members
Constructors
SocketResponse(JsonSerializerSettings)
Represents a socket response
public SocketResponse(JsonSerializerSettings serializerSettings)
Parameters
serializerSettings
JsonSerializerSettings
Properties
Payload
The typed payload response
[JsonProperty("payload")]
public T? Payload { get; set; }
Property Value
- T