Class HttpResponse<TResponse, TErrorResponse>
This container can be used to get the details of a response. It also makes it possible to process the error information, and eventually do something different. You can specify your own container, by using the HttpAttribute.
Inheritance
System.Object
HttpResponseWithError<TErrorResponse>
HttpResponse<TResponse, TErrorResponse>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dapplo.HttpExtensions
Assembly: Dapplo.HttpExtensions.dll
Syntax
public class HttpResponse<TResponse, TErrorResponse> : HttpResponseWithError<TErrorResponse> where TResponse : class where TErrorResponse : class
Type Parameters
Name | Description |
---|---|
TResponse | Type for the normal response |
TErrorResponse | Type for the error response |
Properties
| Improve this Doc View SourceResponse
The response, if there was no error Will be filled due to the annotation
Declaration
public TResponse Response { get; set; }
Property Value
Type | Description |
---|---|
TResponse |