Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 974bb3b

Browse files
author
Adam Kliment
committed
Update README.md
1 parent 742b1bc commit 974bb3b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,13 @@ fs.readFile('./tracefile', 'utf8', function (err,trace) {
100100
101101
## API Reference
102102
103-
`parse(traceString)`
103+
`parse(traceString)` - parse string with trace to object with raw request and response
104104
105-
``
105+
`parseToString(traceString)` - parse string with trace to [output format]
106106
107+
`parseBack(outputString)` - parse string with [output format] back to object with raw request an resposne
108+
109+
110+
[output format]: https://github.com/apiaryio/curl-trace-parser#output-format
107111
[message]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html
108112

0 commit comments

Comments
 (0)