HarWriter
HarWriter
A basic .har file writer
Constructor
new HarWriter(options)
- Description:
- Construct a new HarWriter
- Source:
Parameters:
Name |
Type |
Description |
options |
object
|
|
Classes
- HarWriter
Methods
(async) createLogObject() → {object}
- Description:
- Build the "log" section of the HAR export
- Source:
Returns:
-
Type
-
object
(async) getProjectVersion()
- Description:
- Get the current version of this module
- Source:
(async) recordEntry(data)
- Description:
- Record a single HTTP request entry
- Source:
Parameters:
Name |
Type |
Description |
data |
object
|
|
(async) toJSON() → {object}
- Description:
- Return HAR file as a JSON object
- Source:
Returns:
-
Type
-
object
(async) write()
- Description:
- Write .har export to disk
- Source: