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 b47044a

Browse filesBrowse files
ryzokukenMylesBorins
authored andcommitted
doc: improve parameters for Http2Session:goaway event
Improve parameters for the callback for the Http2Session:connect event inline with the pattern in the rest of the documentation. Refs: nodejs/help#877 (comment)
1 parent f0b2b26 commit b47044a
Copy full SHA for b47044a

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/http2.md‎

Copy file name to clipboardExpand all lines: doc/api/http2.md
+2-3Lines changed: 2 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,14 @@ immediately following the `'frameError'` event.
179179
added: v8.4.0
180180
-->
181181

182-
The `'goaway'` event is emitted when a `GOAWAY` frame is received. When invoked,
183-
the handler function will receive three arguments:
184-
185182
* `errorCode` {number} The HTTP/2 error code specified in the `GOAWAY` frame.
186183
* `lastStreamID` {number} The ID of the last stream the remote peer successfully
187184
processed (or `0` if no ID is specified).
188185
* `opaqueData` {Buffer} If additional opaque data was included in the `GOAWAY`
189186
frame, a `Buffer` instance will be passed containing that data.
190187

188+
The `'goaway'` event is emitted when a `GOAWAY` frame is received.
189+
191190
The `Http2Session` instance will be shut down automatically when the `'goaway'`
192191
event is emitted.
193192

0 commit comments

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