mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
573 B
31 lines
573 B
'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
|
|
};
|
|
|