You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 'best practices' guide mentions that keepAlive can be used but this actually is a special option for axios so to include this we need to pass through the new http.Agent.
// httpAgent and httpsAgent define a custom agent to be used when performing http // and https requests, respectively, in node.js. This allows options to be added like // keepAlive that are not enabled by default. httpAgent: new http.Agent({ keepAlive: true }), httpsAgent: new https.Agent({ keepAlive: true }),
The text was updated successfully, but these errors were encountered:
lteacher
changed the title
User agent for keepAlive
Http agent for keepAlive parameter
Aug 22, 2017
The 'best practices' guide mentions that
keepAlive
can be used but this actually is a special option foraxios
so to include this we need to pass through the newhttp.Agent
.The
axios
reference is here in the readmeThe text was updated successfully, but these errors were encountered: