Table of Contents

Class HttpResponse

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

Http response consisting of just the status code.

public class HttpResponse
Inheritance
HttpResponse
Derived
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

Headers

public Dictionary<string, string> Headers { get; set; }

Property Value

Dictionary<string, string>

StatusCode

public int StatusCode { get; set; }

Property Value

int