(options, configHttpAgent, configHttpsAgent)
| 132 | } |
| 133 | |
| 134 | function getProxyEnvAgent(options, configHttpAgent, configHttpsAgent) { |
| 135 | return isHttps.test(options.protocol) |
| 136 | ? (configHttpsAgent || https.globalAgent) |
| 137 | : (configHttpAgent || http.globalAgent); |
| 138 | } |
| 139 | |
| 140 | function getTunnelingAgent(agentOptions, userHttpsAgent) { |
| 141 | const key = |