mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
http2: move process.binding('http2') to internalBinding
Refs: https://github.com/nodejs/node/issues/22160 PR-URL: https://github.com/nodejs/node/pull/22328 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
This commit is contained in:
parent
c7788fba28
commit
4fa5448e5d
14 changed files with 29 additions and 17 deletions
|
@ -5,11 +5,12 @@ const common = require('../common');
|
|||
if (!common.hasCrypto)
|
||||
common.skip('missing crypto');
|
||||
const http2 = require('http2');
|
||||
const { internalBinding } = require('internal/test/binding');
|
||||
const {
|
||||
constants,
|
||||
Http2Stream,
|
||||
nghttp2ErrorString
|
||||
} = process.binding('http2');
|
||||
} = internalBinding('http2');
|
||||
const { NghttpError } = require('internal/http2/util');
|
||||
|
||||
// tests error handling within pushStream
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue