A Nim library to turn request and responses from the standard library into HAR v1.2 documents.
Downloading can be done via
nimble install https://github.com/celeo/http_har
or putting requires "https://github.com/celeo/http_har.git"
into your project's .nimble
file and running nimble build
or nibmle test
.
Whenever your application has access to a Request
and Response
/AsyncResponse
, you can feed those objects into a convert
call via this library:
import http_har
...
let har = convert(req, resp)
echo har
nimble test