This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Http.
Summary
Sends an HTTP request to the inner handler to send to the server as an asynchronous operation.
Syntax
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Attributes
Type |
Description |
AsyncStateMachineAttribute |
|
Parameters
Name |
Type |
Description |
request |
HttpRequestMessage |
The HTTP request message to send to the server. |
cancellationToken |
CancellationToken |
A cancellation token to cancel operation. |
Return Value
Type |
Description |
Task<HttpResponseMessage> |
Returns System.Threading.Tasks.Task`1. The task object representing the asynchronous |