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
First off: this repo (and Sendgrid overall) is fantastic! ❤️
I'm using @sendgrid/mail and was interested in the behavior for handling keep-alive.
I noticed that the core @sendgrid/client package uses the request library behind the scenes to hit the API.
Pull requests to add this feature are welcome and will be reviewed based on priority, but Twilio SendGrid is not actively building new functionality for the library.
Since there has been no activity on this issue since March 1, 2020, we are closing this issue. Please feel free to reopen or create a new issue if you still require assistance. Thank you!
Issue Summary
First off: this repo (and Sendgrid overall) is fantastic! ❤️
I'm using
@sendgrid/mail
and was interested in the behavior for handling keep-alive.I noticed that the core
@sendgrid/client
package uses therequest
library behind the scenes to hit the API.sendgrid-nodejs/packages/client/src/classes/client.js
Line 6 in 68b7c45
sendgrid-nodejs/packages/client/src/classes/client.js
Line 115 in 68b7c45
There's a
forever
option that could be set totrue
in thedefaultRequest
configuration.sendgrid-nodejs/packages/client/src/classes/client.js
Lines 37 to 43 in 68b7c45
This would enable
keepAlive
in the underlying http(s) agent.Prior art
Further reading
The text was updated successfully, but these errors were encountered: