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
| Type | Description |
|---|---|
| XmlSerializerRepository |
Methods
CreateAsync<T>(HttpResponseMessage)
Creates the specified response asynchronously.
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 |