HarResponse Class
Represents detailed info about an HTTP response.
public sealed class HarResponseConstructors
| Name | Description |
|---|---|
| HarResponse() |
HarResponse()
HarResponse.cspublic HarResponse()No documentation is available.
Properties
| Name | Description |
|---|---|
| BodySize | Gets or sets the size of the received response body in bytes. Use -1 if the info is not available. |
| Comment | Gets or sets a comment provided by the user or the application. |
| Content | Gets or sets the details about the response body. |
| Cookies | Gets or sets the list of cookie objects. |
| ExtensionData | Gets or sets additional vendor-specific fields. |
| Headers | Gets or sets the list of header objects. |
| HeadersSize | Gets or sets the total number of bytes from the start of the HTTP response message until (and including) the double CRLF before the body. Use -1 if the info is not available. |
| HttpVersion | Gets or sets the response HTTP version. |
| RedirectUrl | Gets or sets the redirection target URL from the Location response header. |
| Status | Gets or sets the response status code. |
| StatusText | Gets or sets the response status description. |
BodySize
HarResponse.csComment
HarResponse.csContent
HarResponse.csGets or sets the details about the response body.
public HarContent? Content { get; set; }Property value
Cookies
HarResponse.csGets or sets the list of cookie objects.
Property value
ExtensionData
HarResponse.csGets or sets additional vendor-specific fields.
public Dictionary<string, JsonElement>? ExtensionData { get; set; }Property value
Headers
HarResponse.csGets or sets the list of header objects.