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

Method constructor

packages/utils/httpServer.ts:59–62  ·  view source on GitHub ↗
(staticRoot?: string)

Source from the content-addressed store, hash-verified

57 private _staticRoot: string | undefined;
58
59 constructor(staticRoot?: string) {
60 this._server = createHttpServer(this._onRequest.bind(this));
61 this._staticRoot = staticRoot ? path.resolve(staticRoot) : undefined;
62 }
63
64 server() {
65 return this._server;

Callers

nothing calls this directly

Calls 3

createHttpServerFunction · 0.90
bindMethod · 0.65
resolveMethod · 0.65

Tested by

no test coverage detected