TCnHttpClient.PutAsync(_Uri,_HttpContent) Method

Send a PUT request to the specified Uri as an asynchronous operation.

Namespace: CNClrLib.Component.HttpClient
public
 function PutAsync(RequestUri: _Uri; Content: _HttpContent): _GenericTask; overload;

Parameters

RequestUri
Type: System.Void

The Uri the request is sent to.

Content
Type: _HttpContent

The HTTP request content sent to the server.

Return Value

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