File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ const {
372
372
373
373
const req = clientSession .request ({ [HTTP2_HEADER_PATH ]: ' /' });
374
374
req .on (' response' , (headers ) => {
375
- console .log (HTTP2_HEADER_STATUS );
375
+ console .log (headers[ HTTP2_HEADER_STATUS ] );
376
376
req .on (' data' , (chunk ) => { /** .. **/ });
377
377
req .on (' end' , () => { /** .. **/ });
378
378
});
@@ -828,8 +828,8 @@ added: v8.4.0
828
828
* Value: {Object}
829
829
* ` localWindowSize ` {number}
830
830
* ` state ` {number}
831
- * ` streamLocalClose ` {number}
832
- * ` streamRemoteClose ` {number}
831
+ * ` localClose ` {number}
832
+ * ` remoteClose ` {number}
833
833
* ` sumDependencyWeight ` {number}
834
834
* ` weight ` {number}
835
835
@@ -1368,7 +1368,7 @@ added: v8.4.0
1368
1368
The ` 'unknownProtocol' ` event is emitted when a connecting client fails to
1369
1369
negotiate an allowed protocol (i.e. HTTP/2 or HTTP/1.1). The event handler
1370
1370
receives the socket for handling. If no listener is registered for this event,
1371
- the connection is terminated. See the
1371
+ the connection is terminated. See the [ Compatibility API ] [ ] .
1372
1372
1373
1373
#### Event: 'stream'
1374
1374
<!-- YAML
You can’t perform that action at this time.
0 commit comments