Skip to content

Conversation

@luisfmcalado
Copy link

In some cases you might need to change the tesla adapter options, for example, you might need to have a proxy configured to use the SendGrid web API.

config :sendgrid,
  adapter: {Tesla.Adapter.Hackney, [proxy: "http://192.168.1.1:8888"]}

Here we add a configurable adapter for Tesla injected through the Tesla.client/2. If the adapter isn't configured the default is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant