Class HttpRequestDetail
Represents detailed information about an HTTP request, including its identifier, URL, method, headers, request content, response content, and response status code.
Inherited Members
Namespace: Innovt.Core.Http
Assembly: Innovt.Core.dll
Syntax
public class HttpRequestDetail
Constructors
| Edit this page View SourceHttpRequestDetail()
Initializes a new instance of the HttpRequestDetail class with a unique identifier.
Declaration
public HttpRequestDetail()
Properties
| Edit this page View SourceHeader
Gets or sets the collection of headers associated with the HTTP request.
Declaration
public NameValueCollection Header { get; set; }
Property Value
Type | Description |
---|---|
NameValueCollection |
Id
Gets or sets the unique identifier for the HTTP request detail.
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Method
Gets or sets the HTTP method used in the request (e.g., GET, POST, PUT).
Declaration
public string Method { get; set; }
Property Value
Type | Description |
---|---|
string |
RawRequest
Gets or sets the raw content of the HTTP request.
Declaration
public string RawRequest { get; set; }
Property Value
Type | Description |
---|---|
string |
RawResponse
Gets or sets the raw content of the HTTP response.
Declaration
public string RawResponse { get; set; }
Property Value
Type | Description |
---|---|
string |
ResponseStatusCode
Gets or sets the HTTP status code of the response.
Declaration
public HttpStatusCode ResponseStatusCode { get; set; }
Property Value
Type | Description |
---|---|
HttpStatusCode |
Url
Gets or sets the URL of the HTTP request.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string |