SendAsync(HttpRequestMessage, CancellationToken)
Send an HTTP request as an asynchronous operation.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Networking
- Assembly: UnityEngine.UnityWebRequestModule
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage httpRequest, CancellationToken cancellationToken)
Parameters
The HTTP request message to send.
The cancellation token to cancel operation.
Returns
Type | Description |
|---|---|
| Task<HttpResponseMessage> | The task object representing the asynchronous operation. |