@azteam/http-client
Advanced tools
Comparing version 1.0.23 to 1.0.24
{ | ||
"name": "@azteam/http-client", | ||
"version": "1.0.23", | ||
"version": "1.0.24", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -29,5 +29,12 @@ import fs from 'fs'; | ||
agent: false, | ||
useAgent: true, | ||
pool: { maxSockets: 1000 }, | ||
...options, | ||
}; | ||
if(this.init_opts.useAgent){ | ||
this.randomAgent(); | ||
} | ||
this._resetOptions(); | ||
@@ -34,0 +41,0 @@ } |
20803
412