mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
28 lines
483 B
JavaScript
28 lines
483 B
JavaScript
|
'use strict';
|
||
|
|
||
|
process.emitWarning(
|
||
|
'The http2 module is an experimental API.',
|
||
|
'ExperimentalWarning', undefined,
|
||
|
'See https://github.com/nodejs/http2'
|
||
|
);
|
||
|
|
||
|
const {
|
||
|
constants,
|
||
|
getDefaultSettings,
|
||
|
getPackedSettings,
|
||
|
getUnpackedSettings,
|
||
|
createServer,
|
||
|
createSecureServer,
|
||
|
connect
|
||
|
} = require('internal/http2/core');
|
||
|
|
||
|
module.exports = {
|
||
|
constants,
|
||
|
getDefaultSettings,
|
||
|
getPackedSettings,
|
||
|
getUnpackedSettings,
|
||
|
createServer,
|
||
|
createSecureServer,
|
||
|
connect
|
||
|
};
|