Closed JSAssassin closed 4 years ago
When using https.agent, we get TypeError: https.agent is not a constructor. https.Agent seems to be the correct way of calling it. https://nodejs.org/api/http.html#http_new_agent_options
https.agent
TypeError: https.agent is not a constructor
https.Agent
When using
https.agent
, we getTypeError: https.agent is not a constructor
.https.Agent
seems to be the correct way of calling it. https://nodejs.org/api/http.html#http_new_agent_options