New HttpClient for each new request #17
Labels
status: work in progress
Twilio or the community is in the process of implementing
type: community enhancement
feature request not on Twilio's roadmap
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/
The text was updated successfully, but these errors were encountered: