doc: fix typo in http2.md

PR-URL: https://github.com/nodejs/node/pull/20843
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
Keita Akutsu 2018-05-20 14:01:44 +09:00 committed by Vse Mozhet Byt
parent df511c6195
commit 0271b0f203

View File

@ -3121,7 +3121,7 @@ added: v8.4.0
-->
Call [`http2stream.pushStream()`][] with the given headers, and wraps the
given newly created [`Http2Stream`] on `Http2ServerRespose`.
given newly created [`Http2Stream`] on `Http2ServerResponse`.
The callback will be called with an error with code `ERR_HTTP2_STREAM_CLOSED`
if the stream is closed.