(...args: any[])
| 159 | export function createHttpServer(requestListener?: (req: http.IncomingMessage, res: http.ServerResponse) => void): http.Server; |
| 160 | export function createHttpServer(options: http.ServerOptions, requestListener?: (req: http.IncomingMessage, res: http.ServerResponse) => void): http.Server; |
| 161 | export function createHttpServer(...args: any[]): http.Server { |
| 162 | const server = http.createServer(...args); |
| 163 | decorateServer(server); |
| 164 | return server; |
| 165 | } |
| 166 | |
| 167 | export function createHttpsServer(requestListener?: (req: http.IncomingMessage, res: http.ServerResponse) => void): https.Server; |
| 168 | export function createHttpsServer(options: https.ServerOptions, requestListener?: (req: http.IncomingMessage, res: http.ServerResponse) => void): https.Server; |
no test coverage detected
searching dependent graphs…