danielberkompas / ex_twilio

Twilio API client for Elixir
MIT License
334 stars 146 forks source link

Allow request options to be configured for HTTPoison/hackney Twilio requests #141

Closed paulanthonywilson closed 3 years ago

paulanthonywilson commented 3 years ago

Enables Twilio requests, for instance, to use a specific (non-default) hackney connection pool giving finer control over the maximum number of concurrent requests allowed on a specific node.

This would be done with the configuration

config :ex_twilio, :request_options, hackney: [pool: :twilio_pool]