mirror of https://github.com/nodejs/node.git
32 lines
573 B
JavaScript
32 lines
573 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,
|
|
Http2ServerRequest,
|
|
Http2ServerResponse
|
|
} = require('internal/http2/core');
|
|
|
|
module.exports = {
|
|
constants,
|
|
getDefaultSettings,
|
|
getPackedSettings,
|
|
getUnpackedSettings,
|
|
createServer,
|
|
createSecureServer,
|
|
connect,
|
|
Http2ServerResponse,
|
|
Http2ServerRequest
|
|
};
|