David Dias
David Dias

Reputation: 1832

Setting {"agent": false} on Node.js request module

How can I set up the "agent" to false on the request module? Such as I can do on the http core[2] module?

[1] http://npmjs.org/request

[2] https://nodejs.org/api/http.html#http_class_http_agent

Upvotes: 1

Views: 2282

Answers (1)

David Dias
David Dias

Reputation: 1832

it seems that the option is hidden under the "pool" option. Only had to set up "pool":false. Thank you

Upvotes: 2

Related Questions