(options)
| 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, |
no test coverage detected