Table of Contents

HttpGetAsync Method

Definition

Namespace
Cuemon.Net.Http
Assemblies
Cuemon.Net.dll
Source
src/Cuemon.Net/Http/HttpManager.cs

HttpGetAsync(Uri, CancellationToken)

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

public Task<HttpResponseMessage> HttpGetAsync(Uri location, CancellationToken ct = default)

Parameters

location Uri

The Uri to request.

ct CancellationToken

The cancellation token to cancel operation.

Returns

Task<HttpResponseMessage>

The task object representing the asynchronous operation.