(...args: any[])
| 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; |
| 169 | export function createHttpsServer(...args: any[]): https.Server { |
| 170 | const server = https.createServer(...args); |
| 171 | decorateServer(server); |
| 172 | return server; |
| 173 | } |
| 174 | |
| 175 | export function createHttp2Server(onRequestHandler?: (request: http2.Http2ServerRequest, response: http2.Http2ServerResponse) => void,): http2.Http2SecureServer; |
| 176 | export function createHttp2Server(options: http2.SecureServerOptions, onRequestHandler?: (request: http2.Http2ServerRequest, response: http2.Http2ServerResponse) => void,): http2.Http2SecureServer; |
no test coverage detected
searching dependent graphs…