Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ff4674b

Browse filesBrowse files
Trottdanielleadams
authored andcommitted
doc: correct callback parameter type for createPushResponse()
Refs: #22322 (comment) PR-URL: #36631 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 8ad3455 commit ff4674b
Copy full SHA for ff4674b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/http2.md‎

Copy file name to clipboardExpand all lines: doc/api/http2.md
+2-1Lines changed: 2 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3691,7 +3691,8 @@ added: v8.4.0
36913691
has been rejected, or the state of `Http2ServerRequest` is closed prior to
36923692
calling the `http2stream.pushStream()` method
36933693
* `err` {Error}
3694-
* `stream` {ServerHttp2Stream} The newly-created `ServerHttp2Stream` object
3694+
* `res` {http2.Http2ServerResponse} The newly-created `Http2ServerResponse`
3695+
object
36953696

36963697
Call [`http2stream.pushStream()`][] with the given headers, and wrap the
36973698
given [`Http2Stream`][] on a newly created `Http2ServerResponse` as the callback

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.