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 @@ -375,7 +375,7 @@ const {
375
375
376
376
const req = clientSession .request ({ [HTTP2_HEADER_PATH ]: ' /' });
377
377
req .on (' response' , (headers ) => {
378
- console .log (HTTP2_HEADER_STATUS );
378
+ console .log (headers[ HTTP2_HEADER_STATUS ] );
379
379
req .on (' data' , (chunk ) => { /** .. **/ });
380
380
req .on (' end' , () => { /** .. **/ });
381
381
});
@@ -831,8 +831,8 @@ added: v8.4.0
831
831
* Value: {Object}
832
832
* ` localWindowSize ` {number}
833
833
* ` state ` {number}
834
- * ` streamLocalClose ` {number}
835
- * ` streamRemoteClose ` {number}
834
+ * ` localClose ` {number}
835
+ * ` remoteClose ` {number}
836
836
* ` sumDependencyWeight ` {number}
837
837
* ` weight ` {number}
838
838
@@ -1371,7 +1371,7 @@ added: v8.4.0
1371
1371
The ` 'unknownProtocol' ` event is emitted when a connecting client fails to
1372
1372
negotiate an allowed protocol (i.e. HTTP/2 or HTTP/1.1). The event handler
1373
1373
receives the socket for handling. If no listener is registered for this event,
1374
- the connection is terminated. See the
1374
+ the connection is terminated. See the [ Compatibility API ] [ ] .
1375
1375
1376
1376
#### Event: 'stream'
1377
1377
<!-- YAML
You can’t perform that action at this time.
0 commit comments