HarRequest Class
Represents detailed info about an HTTP request.
public sealed class HarRequestConstructors
| Name | Description |
|---|---|
| HarRequest() |
HarRequest()
HarRequest.cspublic HarRequest()No documentation is available.
Properties
| Name | Description |
|---|---|
| BodySize | Gets or sets the size of the request body in bytes. Use -1 if the info is not available. |
| Comment | Gets or sets a comment provided by the user or the application. |
| 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 request message until (and including) the double CRLF before the body. Use -1 if the info is not available. |
| HttpVersion | Gets or sets the request HTTP version. |
| Method | Gets or sets the request method (GET, POST, ...). |
| PostData | Gets or sets the posted data info. |
| QueryString | Gets or sets the list of query string parameter objects. |
| Url | Gets or sets the absolute URL of the request (fragments are not included). |
BodySize
HarRequest.csComment
HarRequest.csCookies
HarRequest.csGets or sets the list of cookie objects.
Property value
ExtensionData
HarRequest.csGets or sets additional vendor-specific fields.
public Dictionary<string, JsonElement>? ExtensionData { get; set; }Property value
Headers
HarRequest.csGets or sets the list of header objects.
Property value
HeadersSize
HarRequest.csHttpVersion
HarRequest.csMethod
HarRequest.csPostData
HarRequest.csQueryString
HarRequest.csGets or sets the list of query string parameter objects.
public List<HarQueryParameter>? QueryString { get; set; }