-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: improve parameters for Http2Session:goaway event #20338
Conversation
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)
This comment has been minimized.
This comment has been minimized.
doc/api/http2.md
Outdated
* `errorCode` {number} The HTTP/2 error code specified in the `GOAWAY` frame. | ||
* `lastStreamID` {number} The ID of the last stream the remote peer successfully | ||
processed (or `0` if no ID is specified). | ||
* `opaqueData` {Buffer} If additional opaque data was included in the `GOAWAY` | ||
frame, a `Buffer` instance will be passed containing that data. | ||
|
||
The `'goaway'` event is emitted when a `GOAWAY` frame is received. When invoked, | ||
the handler function will receive three arguments: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second sentence is now obsolete and should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea why I missed this in the first place. Sorry, will do.
@BridgeAR done. |
Leave a 👍 reaction to approve fast-tracking. |
Landing this. |
Landed in db10473 |
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)
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)
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes/cc @mcollina @nodejs/http2 @vsemozhetbyt