Add documentation for {intercept,register}StreamProtocol.

This commit is contained in:
Thiago de Arruda 2017-11-10 13:21:09 -03:00
parent 639dc2377f
commit 5e8618ec3b
2 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,5 @@
# StreamProtocolResponse Object
* `statusCode` Number - The HTTP response code
* `headers` Object - An object containing the response headers
* `data` ReadableStream - A Node.js readable stream representing the response body