File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -970,6 +970,11 @@ an `Http2Stream`.
970970added: v8.4.0
971971-->
972972
973+ * ` type ` {integer} The frame type.
974+ * ` code ` {integer} The error code.
975+ * ` id ` {integer} The stream id (or ` 0 ` if the frame isn't associated with a
976+ stream).
977+
973978The ` 'frameError' ` event is emitted when an error occurs while attempting to
974979send a frame. When invoked, the handler function will receive an integer
975980argument identifying the frame type, and an integer argument identifying the
@@ -984,12 +989,16 @@ added: v8.4.0
984989The ` 'timeout' ` event is emitted after no activity is received for this
985990` Http2Stream ` within the number of milliseconds set using
986991` http2stream.setTimeout() ` .
992+ Its listener does not expect any arguments.
987993
988994#### Event: ` 'trailers' `
989995<!-- YAML
990996added: v8.4.0
991997-->
992998
999+ * ` headers ` {HTTP/2 Headers Object} An object describing the headers
1000+ * ` flags ` {number} The associated numeric flags
1001+
9931002The ` 'trailers' ` event is emitted when a block of headers associated with
9941003trailing header fields is received. The listener callback is passed the
9951004[ HTTP/2 Headers Object] [ ] and flags associated with the headers.
You can’t perform that action at this time.
0 commit comments