blob: 60b8004f75c933a2286251fd2507bb86466bc96f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Copyright (C) NGINX, Inc.
*/
'use strict';
const {
Server,
ServerRequest,
ServerResponse,
} = require('./http_server');
function createServer (options, requestHandler) {
return new Server(options, requestHandler);
}
const http = require("http")
module.exports = {
...http,
Server,
createServer,
IncomingMessage: ServerRequest,
ServerResponse,
};
|