TCnHttpClient.DeleteAsync(_Uri,_CancellationToken) Method

Send a DELETE request to the specified Uri with a cancellation token as an asynchronous operation.

Namespace: CNClrLib.Component.HttpClient
public
 function DeleteAsync(RequestUri: _Uri; CancellationToken: _CancellationToken): _GenericTask; overload;

Parameters

RequestUri
Type: System.Void

The Uri the request is sent to.

CancellationToken
Type: System.Void

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

The task object representing the asynchronous operation. Return type in .Net is Task<HttpResponseMessage>.