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

Method makeConnection

packages/https-proxy/lib/server.ts:174–178  ·  view source on GitHub ↗
(port: number)

Source from the content-addressed store, hash-verified

172 const firstBytes = head[0]
173
174 const makeConnection = (port: number) => {
175 debug('Making intercepted connection to %s', port)
176
177 return this._makeConnection(browserSocket, head, port.toString(), 'localhost')
178 }
179
180 if (!SSL_RECORD_TYPES.includes(firstBytes)) {
181 // if this isn't an SSL request then go

Callers

nothing calls this directly

Calls 2

_makeConnectionMethod · 0.95
debugFunction · 0.50

Tested by

no test coverage detected