Library to make it easy to work with HTTP archives in .NET.
The HTTP archive format or HAR, is a JSON-formatted archival format most known for logs of a web browser's interaction with a site. They can be used for a wide range of applications, including, but not limited to:
- Performance analytics
- Usability testing and analysis
- Automated security testing
HAR specification: https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HAR/Overview.html
Execute the following command in your Package Manager Console, or search for "HAR".
PM> Install-Package HAR
Serializing:
var harObject = new Har();
var harJson = Har.Serialize(harObject);
Deserializing:
var harJson = "{ log: { /* HAR log */ } }";
var harObject = Har.Deserialize(harJson);
- Reading from and writing to files.
- Support zipped HAR files (ZHAR).