Initialise an instance of the parser with the contents of a .har file as Data:
import HARParser
func parse() throws {
let data = Data() // Load the file into memory
let parser = HARParser(data: data)
// After parsing you can access the different fields of the archive
let har = try parser.parse()
}
Licence
Table is released under the MIT license. See LICENSE for details.
HARParser
A parser for .har files. To use it in you project add the dependency to your
Package.swift
file:Usage
Initialise an instance of the parser with the contents of a .har file as Data:
Licence
Table is released under the MIT license. See LICENSE for details.