TCnHttpClient.GetByteArrayAsync(_Uri) Method

Send a GET request to the specified Uri and return the response body as a byte array in an asynchronous operation.

Namespace: CNClrLib.Component.HttpClient
public
 function GetByteArrayAsync(RequestUri: _Uri): _GenericTask; overload;

Parameters

RequestUri
Type: System.Void

The Uri the request is sent to.

Return Value

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