GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: improve docs for Http2Session:frameError · nodejs/node@98ed30f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • http2.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/http2.md‎

Copy file name to clipboardExpand all lines: doc/api/http2.md
+5-7Lines changed: 5 additions & 7 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -159,18 +159,16 @@ an `Http2Session`.
159159
added: v8.4.0
160160
-->
161161

162+
* `type` {integer} The frame type.
163+
* `code` {integer} The error code.
164+
* `id` {integer} The stream id (or `0` if the frame isn't associated with a
165+
stream).
166+
162167
The `'frameError'` event is emitted when an error occurs while attempting to
163168
send a frame on the session. If the frame that could not be sent is associated
164169
with a specific `Http2Stream`, an attempt to emit `'frameError'` event on the
165170
`Http2Stream` is made.
166171

167-
When invoked, the handler function will receive three arguments:
168-
169-
* An integer identifying the frame type.
170-
* An integer identifying the error code.
171-
* An integer identifying the stream (or 0 if the frame is not associated with
172-
a stream).
173-
174172
If the `'frameError'` event is associated with a stream, the stream will be
175173
closed and destroyed immediately following the `'frameError'` event. If the
176174
event is not associated with a stream, the `Http2Session` will be shut down

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.