twilio / twilio-go

A Go package for communicating with the Twilio API.
MIT License
280 stars 40 forks source link

feat: add RequestHandler for custom client support #80

Closed eshanholtz closed 3 years ago

eshanholtz commented 3 years ago

This PR adds an additional layer to wrap the underlying BaseClient at the API level, allowing users to supply their own custom client functionality with minimal code. Region/Edge logic has been moved to this layer so that URL rebuilding functionality can be used even with a custom supplied client.

Related PRs:

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.