# SendAsync Method

## Overloads

| [SendAsync(Request)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.RpcConnection.SendAsync.htm#Qlik_Sense_JsonRpc_RpcConnection_SendAsync_Qlik_Sense_JsonRpc_Request_) |  | Sends a request asynchronously to a Qlik Sense instance |
| --- | --- | --- |
| [SendAsync<T>(Request)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.RpcConnection.SendAsync.htm#Qlik_Sense_JsonRpc_RpcConnection_SendAsync__1_Qlik_Sense_JsonRpc_Request_) |  |  |
| [SendAsync<T>(Request, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.RpcConnection.SendAsync.htm#Qlik_Sense_JsonRpc_RpcConnection_SendAsync__1_Qlik_Sense_JsonRpc_Request_System_Func_Qlik_Sense_JsonRpc_Response___0__) |  | Sends a request asynchronously to a Qlik Sense instance with a specified response handler. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.RpcConnection.SendAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.RpcConnection.SendAsync.htm)

## SendAsync(Request)

Sends a request asynchronously to a Qlik Sense instance

### Declaration

```

          public Task SendAsync(Request request)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [Request](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Request.htm) | request | Request to send |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task | A Task without deserialized response |

### Implements

[IRpcConnection.SendAsync(Request)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IRpcConnection.SendAsync.htm#Qlik_Sense_JsonRpc_IRpcConnection_SendAsync_Qlik_Sense_JsonRpc_Request_)

### Exceptions

| Type | Condition |
| --- | --- |
| System.ArgumentNullException | Thrown if `request` is `null`. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.RpcConnection.SendAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.RpcConnection.SendAsync.htm)

## SendAsync&lt;T&gt;(Request)

### Declaration

```

          [Obsolete("Use method Task SendAsync(Request) or Task<T> SendAsync<T>(Request, Func<Request, T>).")]
public Task<T> SendAsync<T>(Request request)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [Request](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Request.htm) | request |  |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.RpcConnection.SendAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.RpcConnection.SendAsync.htm)

## SendAsync&lt;T&gt;(Request, Func&lt;Response, T&gt;)

Sends a request asynchronously to a Qlik Sense instance with a specified response handler.

### Declaration

```
public Task<T> SendAsync<T>(Request request, Func<Response, T> continueWith)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [Request](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Request.htm) | request | Request to send |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.htm), T&gt; | continueWith | Response handler that is used to change the [Response](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.Response.htm) object into an instance of T. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; | Task that will resolve into a handled instance of T |

### Type Parameters

| Name | Description |
| --- | --- |
| T | Dynamic type that should be returned |

### Implements

[IRpcConnection.SendAsync<T>(Request, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IRpcConnection.SendAsync.htm#Qlik_Sense_JsonRpc_IRpcConnection_SendAsync__1_Qlik_Sense_JsonRpc_Request_System_Func_Qlik_Sense_JsonRpc_Response___0__)

### Exceptions

| Type | Condition |
| --- | --- |
| System.ArgumentNullException | Thrown if either `request` or `continueWith` is `null`. |