DataResponse
Inherits ResponseBlock
Public Static Functions
DataResponse
Creates a success response if the value is defined (not null or empty). Returns a success response if the value is defined; otherwise, a failure response with the specified message.
DataResponse
Creates a success response with the specified key and value. Returns a success response with the specified key and value.
DataResponse
Creates a success response with the specified key and value. Returns 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.
Protected Functions
object?
Filters the value to remove any unwanted characters. Returns the filtered value.
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.
