MCPcopy Create free account
hub / github.com/cypress-io/cypress / constructor

Method constructor

packages/https-proxy/lib/server.ts:45–51  ·  view source on GitHub ↗
(_ca: CA, _port: number, _options: ServerOptions)

Source from the content-addressed store, hash-verified

43 _sniServer: https.Server<typeof IncomingMessage, typeof ServerResponse>
44
45 constructor (_ca: CA, _port: number, _options: ServerOptions) {
46 this._ca = _ca
47 this._port = _port
48 this._options = _options
49 this._onError = null
50 this._ipServers = sslIpServers
51 }
52
53 connect (req: IncomingMessage, browserSocket: net.Socket, head: Buffer) {
54 // the SNI server requires a hostname, so if the hostname is blank,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected