MCPcopy Index your code
hub / github.com/nodejs/node / normalizeServerName

Function normalizeServerName

lib/_http_agent.js:474–477  ·  view source on GitHub ↗
(options, req)

Source from the content-addressed store, hash-verified

472};
473
474function normalizeServerName(options, req) {
475 if (!options.servername && options.servername !== '')
476 options.servername = calculateServerName(options, req);
477}
478
479function calculateServerName(options, req) {
480 let servername = options.host;

Callers 1

_http_agent.jsFile · 0.85

Calls 1

calculateServerNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…