Skip to content

Conversation

@brodeuralexis
Copy link

While looking to use this module, I was not able to find documentation on how to use it anywhere. I had to peek at the source code to understand how to use it. I'm leaving this here for future reference for myself, as well as for others

Related issue #22

var https = require("https");

var options = {};
http.globalAgent = new ForeverAgent(options);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this actually works?
Have you checked that http.globalAgent can be replaced?
nodejs/node#9057

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants