Table of Contents

Class DeserializedHttpResponse

Namespace
DocuWare.Services.Http
Assembly
DocuWare.RestClient.dll

Provides utility methods serializing HTTP responses.

public static class DeserializedHttpResponse
Inheritance
DeserializedHttpResponse
Inherited Members

Properties

Type2Serializer

Maps types to its XML serializer.

public static XmlSerializerRepository Type2Serializer { get; }

Property Value

TypeDescription
XmlSerializerRepository

Methods

CreateAsync<T>(HttpResponseMessage)

Creates the specified response asynchronously.

public static Task<DeserializedHttpResponse<T>> CreateAsync<T>(HttpResponseMessage response)
    where T : class

Parameters

TypeNameDescription
HttpResponseMessageresponse

The response.

Returns

TypeDescription
Task<DeserializedHttpResponse<T>>

Type Parameters

NameDescription
T