Class DeserializedHttpResponse
Provides utility methods serializing HTTP responses.
Inherited Members
Namespace: DocuWare.Services.Http
Assembly: DocuWare.RestClient.dll
Syntax
public static class DeserializedHttpResponse
Properties
Type2Serializer
Maps types to its XML serializer.
Declaration
public static XmlSerializerRepository Type2Serializer { get; }
Property Value
Type | Description |
---|---|
XmlSerializerRepository |
Methods
CreateAsync<T>(HttpResponseMessage)
Creates the specified response asynchronously.
Declaration
public static Task<DeserializedHttpResponse<T>> CreateAsync<T>(HttpResponseMessage response)
where T : class
Parameters
Type | Name | Description |
---|---|---|
HttpResponseMessage | response | The response. |
Returns
Type | Description |
---|---|
Task<DeserializedHttpResponse<T>> |
Type Parameters
Name | Description |
---|---|
T |