Table of Contents

Class HttpResponse<TPayload>

Namespace
Microsoft.Accordant
Assembly
Accordant.Operations.Http.dll

Http response consisting of the status code and a payload.

public class HttpResponse<TPayload> : HttpResponse

Type Parameters

TPayload
Inheritance
HttpResponse<TPayload>
Inherited Members

Constructors

HttpResponse()

public HttpResponse()

HttpResponse(int, Dictionary<string, string>)

public HttpResponse(int statusCode, Dictionary<string, string> headers = null)

Parameters

statusCode int
headers Dictionary<string, string>

HttpResponse(HttpStatusCode, Dictionary<string, string>)

public HttpResponse(HttpStatusCode statusCode, Dictionary<string, string> headers = null)

Parameters

statusCode HttpStatusCode
headers Dictionary<string, string>

Properties

Payload

public TPayload Payload { get; set; }

Property Value

TPayload