Class HttpResponse
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
statusCodeintheadersDictionary<string, string>
HttpResponse(HttpStatusCode, Dictionary<string, string>)
public HttpResponse(HttpStatusCode statusCode, Dictionary<string, string> headers = null)
Parameters
statusCodeHttpStatusCodeheadersDictionary<string, string>
Properties
Headers
public Dictionary<string, string> Headers { get; set; }
Property Value
StatusCode
public int StatusCode { get; set; }