MCPcopy
hub / github.com/di-sukharev/opencommit / getName

Method getName

out/cli.cjs:26029–26035  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

26027 // In order to properly update the socket pool, we need to call `getName()` on
26028 // the core `https.Agent` if it is a secureEndpoint.
26029 getName(options) {
26030 const secureEndpoint = this.isSecureEndpoint(options);
26031 if (secureEndpoint) {
26032 return https_1.Agent.prototype.getName.call(this, options);
26033 }
26034 return super.getName(options);
26035 }
26036 createSocket(req, options, cb) {
26037 const connectOpts = {
26038 ...options,

Callers 3

onFreeFunction · 0.80
onTimeoutFunction · 0.80
createSocketMethod · 0.80

Calls 1

isSecureEndpointMethod · 0.80

Tested by

no test coverage detected