Keep HTTP connections open between requests

This commit is contained in:
Alexander Corn 2017-02-11 22:28:22 -05:00
parent b9ec1ccfb5
commit b1c772d9b9

View File

@ -45,7 +45,7 @@ function SteamCommunity(options) {
defaults.localAddress = options.localAddress;
}
this.request = options.request || Request.defaults();
this.request = options.request || Request.defaults({"forever": true}); // "forever" indicates that we want a keep-alive agent
this.request = this.request.defaults(defaults);
// English