文档

Unity Engine

Unity Engine

SendAsync(HttpRequestMessage, CancellationToken)

Send an HTTP request as an asynchronous operation.
阅读时间1 分钟最后更新于 1 个月前

Definition

protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage httpRequest, CancellationToken cancellationToken)

Parameters

The HTTP request message to send.

cancellationToken

The cancellation token to cancel operation.

Returns

Type

Description

Task<HttpResponseMessage>The task object representing the asynchronous operation.