Skip to content

Commit

Permalink
doc: add params for ClientHttp2Session:altsvc
Browse files Browse the repository at this point in the history
Add parameters for the callback for the ClientHttp2Session:altsvc
event inline with the pattern in the rest of the documentation.

Refs: nodejs/help#877 (comment)

PR-URL: nodejs#20598
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
ryzokuken authored and kjin committed Oct 16, 2018
1 parent 7d23d63 commit e3e16d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,9 +667,9 @@ added: v8.4.0
added: v8.11.2
-->

* `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
Expand Down

0 comments on commit e3e16d7

Please sign in to comment.