node-modules/agentkeepalive

Agent vs HttpsAgent

rvillane opened this issue · 1 comments

can I use Agent in case of HTTP and HTTPS connections? or should be strict Agent with HTTP and HttpsAgent with HTTPS connections ?

thanks

It must be strict. You need to put either http or https agent into your request depending on the upstream(s) you want to call.