Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Ability to specify http.Agent in configuration #1230

Open
sluramod opened this issue Dec 9, 2020 · 1 comment
Open

Feature Request: Ability to specify http.Agent in configuration #1230

sluramod opened this issue Dec 9, 2020 · 1 comment
Labels
difficulty: unknown or n/a fix is unknown in difficulty status: help wanted requesting help from the community type: community enhancement feature request not on Twilio's roadmap

Comments

@sluramod
Copy link

sluramod commented Dec 9, 2020

Issue Summary

We are using sendgrid api in firebase environment. firebase cloud functions have various quotas, including quotas for outbound connections. The document is here: https://firebase.google.com/docs/functions/networking#maintaining_persistent_connections
Right now there is no way to specify httpAgent to use in sendgrid configuration.

Technical details:

Ideally, it would be great to do something like this:

const httpAgent = new https.Agent({ keepAlive: true });

sendgrid.setHttpAgent(httpAgent)
...
sendgrid.send({args})
@JenniferMah JenniferMah added difficulty: unknown or n/a fix is unknown in difficulty status: help wanted requesting help from the community type: community enhancement feature request not on Twilio's roadmap labels Dec 12, 2020
@JenniferMah
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: unknown or n/a fix is unknown in difficulty status: help wanted requesting help from the community type: community enhancement feature request not on Twilio's roadmap
Projects
None yet
Development

No branches or pull requests

2 participants