-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Labels
status: work in progressTwilio or the community is in the process of implementingTwilio or the community is in the process of implementingtype: community enhancementfeature request not on Twilio's roadmapfeature request not on Twilio's roadmap
Description
Issue Summary
Is there a specific reason why a new HttpClient is instantiated on each request which is made through this client?
Reusing a HttpClient instance is considered a best practice regarding to performance and memory pressure. I'm glad to do a pull request, but first wanted to verify there isn't a specific reason to not reuse the instance.
f.e. https://skimming.net/why-you-should-reuse-httpclient-instances/
Metadata
Metadata
Assignees
Labels
status: work in progressTwilio or the community is in the process of implementingTwilio or the community is in the process of implementingtype: community enhancementfeature request not on Twilio's roadmapfeature request not on Twilio's roadmap