Class HttpClientXmlExtensions
XML counterpart to the BCL's GetFromJsonAsync: fetches a URL and deserializes the
response into an XmlSerializer-annotated model in one call, so modules never
touch the serializer's object-typed API.
public static class HttpClientXmlExtensions
- Inheritance
-
objectHttpClientXmlExtensions
- Inherited Members
-
object.Equals(object)object.GetHashCode()object.ToString()
Methods
- GetFromXmlAsync<T>(HttpClient, string, CancellationToken)
Sends a GET request and deserializes the XML response body into
T.