# Response Class

Namespace: [Qlik.Sense.JsonRpc](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.htm)  
Assembly: Qlik.Sense.JsonRpc.dll

Class representing a response received on a web socket connection.

## Inheritance

* System.Object
  * Response

    [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.htm)
    #### Derived Classes
    * [Response](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm)

## Syntax

```
public class Response
```

## Methods

| Name | Description |
| --- | --- |
| [Result<T>(String, Func<JToken, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.Result.htm#Qlik_Sense_JsonRpc_Response_Result__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken___0__) | Gets custom result from a json response. Wrapper for [Value<T>(String, Func<JToken, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.Value.htm#Qlik_Sense_JsonRpc_Response_Value__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken___0__) that assumes<br>the property to deserialize is found in the result part of the response. |
| [ResultAsync<T>(String, Func<JToken, Task<T>>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ResultAsync.htm#Qlik_Sense_JsonRpc_Response_ResultAsync__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken_System_Threading_Tasks_Task___0___) | Gets custom result from a json response. Wrapper for [Value<T>(String, Func<JToken, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.Value.htm#Qlik_Sense_JsonRpc_Response_Value__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken___0__) that assumes<br>the property to deserialize is found in the result part of the response asynchronously. |
| [Return<T>(Func<JToken, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.Return.htm#Qlik_Sense_JsonRpc_Response_Return__1_System_Func_Newtonsoft_Json_Linq_JToken___0__) | Deserializes the return value of an RPC response. Equivalent to calling [Result<T>(String, Func<JToken, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.Result.htm#Qlik_Sense_JsonRpc_Response_Result__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken___0__)<br>with parameter "name" set to "qReturn". |
| [ReturnAsync<T>(Func<JToken, Task<T>>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ReturnAsync.htm#Qlik_Sense_JsonRpc_Response_ReturnAsync__1_System_Func_Newtonsoft_Json_Linq_JToken_System_Threading_Tasks_Task___0___) | Deserializes the return value of an RPC response. Equivalent to calling [ResultAsync<T>(String, Func<JToken, Task<T>>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ResultAsync.htm#Qlik_Sense_JsonRpc_Response_ResultAsync__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken_System_Threading_Tasks_Task___0___)<br>with parameter "name" set to "qReturn". |
| [ToString()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ToString.htm#Qlik_Sense_JsonRpc_Response_ToString) | Returns a string that represents the current object. |
| [ToString(Formatting)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ToString.htm#Qlik_Sense_JsonRpc_Response_ToString_Newtonsoft_Json_Formatting_) | Returns a string that represents the current object. |
| [ToString(Formatting, JsonConverter\[\])](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ToString.htm#Qlik_Sense_JsonRpc_Response_ToString_Newtonsoft_Json_Formatting_Newtonsoft_Json_JsonConverter___) | Returns a string that represents the current object. |
| [Value<T>(String, Func<JToken, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.Value.htm#Qlik_Sense_JsonRpc_Response_Value__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken___0__) | Gets custom value from a json response. |
| [ValueAsync<T>(String, Func<JToken, Task<T>>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.ValueAsync.htm#Qlik_Sense_JsonRpc_Response_ValueAsync__1_System_String_System_Func_Newtonsoft_Json_Linq_JToken_System_Threading_Tasks_Task___0___) | Gets custom value from a json response asynchronously. |