TCnHttpClient.GetByteArrayAsync(String) Method

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

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

Parameters

RequestUri
Type: String

The Uri the request is sent to.

Return Value

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