mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
doc: add params for ClientHttp2Session:altsvc
Add parameters for the callback for the ClientHttp2Session:altsvc event inline with the pattern in the rest of the documentation. Refs: https://github.com/nodejs/help/issues/877#issuecomment-381253464 PR-URL: https://github.com/nodejs/node/pull/20598 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -664,9 +664,9 @@ added: v8.4.0
|
||||
added: v9.4.0
|
||||
-->
|
||||
|
||||
* `alt`: {string}
|
||||
* `origin`: {string}
|
||||
* `streamId`: {number}
|
||||
* `alt` {string}
|
||||
* `origin` {string}
|
||||
* `streamId` {number}
|
||||
|
||||
The `'altsvc'` event is emitted whenever an `ALTSVC` frame is received by
|
||||
the client. The event is emitted with the `ALTSVC` value, origin, and stream
|
||||
|
||||
Reference in new issue
Block a user