DataResponse ​
A response to a DataRequest block.
Kind: Class
Namespace: CrowdControl.Common
Inheritance: ResponseBlock → IEquatable\<CrowdControlBlock\>
Public Constructors
Creates a new instance of the CrowdControl.Common.DataResponse class.
Creates a new instance of the CrowdControl.Common.DataResponse class.
Public Static Functions
DataResponse
Creates a success response if the value is defined (not null or empty).
DataResponse
Creates a success response with the specified key and value.
DataResponse
Creates a success response with the specified key and value.
DataResponse
Creates a failure response with the specified key and message.
DataResponse
Creates a failure response with the specified key and message.
DataResponse
Creates a delay estimated response with the specified key and message.
Public Attributes
string
Key
The key corresponding to the requested value.
JToken
Value
The value returned by the client.
EffectStatus
Status
The status of the request.
SITimeSpan?
TimeRemaining
The due time of the request, if applicable.
