Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 8.14] Update asStream code example (#2244)
#2241 notes that there is no body attribute on a response. This is mostly just a typo in the example, as `result` itself is a readable stream, unless `meta: true` is passed, in which case `result.body` will be a readable stream. Also dropped the callback-style stream processing example as it's a bit outdated. (cherry picked from commit 45e3c06) Co-authored-by: Josh Mock <[email protected]>
- Loading branch information