Table of Contents

Method GetFromXmlAsync

Namespace
BpNexT.Actions.Sdk
Assembly
BpNexT.Actions.Sdk.dll

GetFromXmlAsync<T>(HttpClient, string, CancellationToken)

Sends a GET request and deserializes the XML response body into T.

public static Task<T> GetFromXmlAsync<T>(this HttpClient client, string requestUri, CancellationToken cancellationToken = default)

Parameters

client HttpClient
requestUri string
cancellationToken CancellationToken

Returns

Task<T>

Type Parameters

T