Share via


IAsAzureHttpClient.CallGetAsync Method

Definition

Overloads

CallGetAsync(String)

Calls SendRequestAsync() for a GET using the default BaseUri and a blank correlationId.

CallGetAsync(Uri, String, Guid)

Calls SendRequestAsync() for a GET.

CallGetAsync(Uri, String, String)
CallGetAsync(Uri, String, String, Guid)

CallGetAsync(String)

Calls SendRequestAsync() for a GET using the default BaseUri and a blank correlationId.

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> CallGetAsync (string requestURL);
abstract member CallGetAsync : string -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function CallGetAsync (requestURL As String) As Task(Of HttpResponseMessage)

Parameters

requestURL
String

The Request Url.

Returns

The http response message.

Applies to

CallGetAsync(Uri, String, Guid)

Calls SendRequestAsync() for a GET.

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> CallGetAsync (Uri baseUri, string requestURL, Guid correlationId);
abstract member CallGetAsync : Uri * string * Guid -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function CallGetAsync (baseUri As Uri, requestURL As String, correlationId As Guid) As Task(Of HttpResponseMessage)

Parameters

baseUri
Uri

The base Uri to call.

requestURL
String

The request Url.

correlationId
Guid

The CorrelationId

Returns

The http response message.

Applies to

CallGetAsync(Uri, String, String)

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> CallGetAsync (Uri baseURI, string requestURL, string accessToken);
abstract member CallGetAsync : Uri * string * string -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function CallGetAsync (baseURI As Uri, requestURL As String, accessToken As String) As Task(Of HttpResponseMessage)

Parameters

baseURI
Uri
requestURL
String
accessToken
String

Returns

Applies to

CallGetAsync(Uri, String, String, Guid)

public System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> CallGetAsync (Uri baseURI, string requestURL, string accessToken, Guid correlationId);
abstract member CallGetAsync : Uri * string * string * Guid -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Function CallGetAsync (baseURI As Uri, requestURL As String, accessToken As String, correlationId As Guid) As Task(Of HttpResponseMessage)

Parameters

baseURI
Uri
requestURL
String
accessToken
String
correlationId
Guid

Returns

Applies to