| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f0b2b26 commit b47044a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -179,15 +179,14 @@ immediately following the `'frameError'` event. | |||
| 179 | 179 | added: v8.4.0 | |
| 180 | 180 | --> | |
| 181 | 181 | ||
| 182 | - The `'goaway'` event is emitted when a `GOAWAY` frame is received. When invoked, | ||
| 183 | - the handler function will receive three arguments: | ||
| 184 | - | ||
| 185 | 182 | * `errorCode` {number} The HTTP/2 error code specified in the `GOAWAY` frame. | |
| 186 | 183 | * `lastStreamID` {number} The ID of the last stream the remote peer successfully | |
| 187 | 184 | processed (or `0` if no ID is specified). | |
| 188 | 185 | * `opaqueData` {Buffer} If additional opaque data was included in the `GOAWAY` | |
| 189 | 186 | frame, a `Buffer` instance will be passed containing that data. | |
| 190 | 187 | ||
| 188 | + The `'goaway'` event is emitted when a `GOAWAY` frame is received. | ||
| 189 | + | ||
| 191 | 190 | The `Http2Session` instance will be shut down automatically when the `'goaway'` | |
| 192 | 191 | event is emitted. | |
| 193 | 192 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments