Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: fix mistake in http2stream.respondWithFile.
http2stream.respondWithFile api has changed since 8.5.0 with the addition of the onError option. In the first code example an onError function is implemented but never used, fix this mistake. Add a description to have more informations when onError is triggered. Fixes: nodejs#15390
- Loading branch information