HarEntry Class

Represents an exported HTTP request.

public sealed class HarEntry

Constructors

NameDescription
HarEntry()

HarEntry()

HarEntry.cs
public HarEntry()

No documentation is available.

Properties

NameDescription
CacheGets or sets the info about cache usage.
CommentGets or sets a comment provided by the user or the application.
ConnectionGets or sets the unique ID of the parent TCP/IP connection.
ExtensionDataGets or sets additional vendor-specific fields.
PagerefGets or sets the reference to the parent page. Leave out if the application does not support grouping by pages.
RequestGets or sets the detailed info about the request.
ResponseGets or sets the detailed info about the response.
ServerIPAddressGets or sets the IP address of the server that was connected.
StartedDateTimeGets or sets the date and time stamp of the request start.
TimeGets or sets the total elapsed time of the request in milliseconds.
TimingsGets or sets the detailed timing info about request/response round trip.

Gets or sets the info about cache usage.

public HarCache? Cache { get; set; }

Property value

HarCache?

Gets or sets a comment provided by the user or the application.

public string? Comment { get; set; }

Property value

string?

Connection

HarEntry.cs

Gets or sets the unique ID of the parent TCP/IP connection.

public string? Connection { get; set; }

Property value

string?

ExtensionData

HarEntry.cs

Gets or sets additional vendor-specific fields.

public Dictionary<string, JsonElement>? ExtensionData { get; set; }

Gets or sets the reference to the parent page. Leave out if the application does not support grouping by pages.

public string? Pageref { get; set; }

Property value

string?

Gets or sets the detailed info about the request.

public HarRequest? Request { get; set; }

Property value

HarRequest?

Response

HarEntry.cs

Gets or sets the detailed info about the response.

public HarResponse? Response { get; set; }

Property value

HarResponse?

ServerIPAddress

HarEntry.cs

Gets or sets the IP address of the server that was connected.

public string? ServerIPAddress { get; set; }

Property value

string?

StartedDateTime

HarEntry.cs

Gets or sets the date and time stamp of the request start.

public DateTimeOffset StartedDateTime { get; set; }

Property value

DateTimeOffset

Gets or sets the total elapsed time of the request in milliseconds.

public double Time { get; set; }

Property value

double

Gets or sets the detailed timing info about request/response round trip.

public HarTimings? Timings { get; set; }

Property value

HarTimings?