MCPcopy
hub / github.com/microsoft/playwright / createHttpsServer

Function createHttpsServer

packages/utils/network.ts:169–173  ·  view source on GitHub ↗
(...args: any[])

Source from the content-addressed store, hash-verified

167export function createHttpsServer(requestListener?: (req: http.IncomingMessage, res: http.ServerResponse) => void): https.Server;
168export function createHttpsServer(options: https.ServerOptions, requestListener?: (req: http.IncomingMessage, res: http.ServerResponse) => void): https.Server;
169export function createHttpsServer(...args: any[]): https.Server {
170 const server = https.createServer(...args);
171 decorateServer(server);
172 return server;
173}
174
175export function createHttp2Server(onRequestHandler?: (request: http2.Http2ServerRequest, response: http2.Http2ServerResponse) => void,): http2.Http2SecureServer;
176export function createHttp2Server(options: http2.SecureServerOptions, onRequestHandler?: (request: http2.Http2ServerRequest, response: http2.Http2ServerResponse) => void,): http2.Http2SecureServer;

Callers 2

constructorMethod · 0.85

Calls 1

decorateServerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…