Response Class
Assembly: Qlik.Sense.JsonRpc.dll
Class representing a response received on a web socket connection.
Inheritance
- 
      System.Object
      
- Response
 
 
Syntax
public class ResponseMethods
| Name | Description | 
|---|---|
| Result<T>(String, Func<JToken, T>) | 
           Gets custom result from a json response. Wrapper for Value<T>(String, Func<JToken, T>) that assumes the property to deserialize is found in the result part of the response.  | 
      
| ResultAsync<T>(String, Func<JToken, Task<T>>) | 
           Gets custom result from a json response. Wrapper for Value<T>(String, Func<JToken, T>) that assumes the property to deserialize is found in the result part of the response asynchronously.  | 
      
| Return<T>(Func<JToken, T>) | 
           Deserializes the return value of an RPC response. Equivalent to calling Result<T>(String, Func<JToken, T>) with parameter "name" set to "qReturn".  | 
      
| ReturnAsync<T>(Func<JToken, Task<T>>) | 
           Deserializes the return value of an RPC response. Equivalent to calling ResultAsync<T>(String, Func<JToken, Task<T>>) with parameter "name" set to "qReturn".  | 
      
| ToString() | 
           Returns a string that represents the current object.  | 
      
| ToString(Formatting) | 
           Returns a string that represents the current object.  | 
      
| ToString(Formatting, JsonConverter[]) | 
           Returns a string that represents the current object.  | 
      
| Value<T>(String, Func<JToken, T>) | 
           Gets custom value from a json response.  | 
      
| ValueAsync<T>(String, Func<JToken, Task<T>>) | 
           Gets custom value from a json response asynchronously.  |