Skip to content

Commit

Permalink
Merge pull request #478 from bschmeck/document-adapter-options-in-config
Browse files Browse the repository at this point in the history
Document that adapter options can be passed via config.exs
  • Loading branch information
teamon committed Jul 26, 2021
2 parents c723762 + 62797c5 commit 5344feb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,13 @@ end

### Adapter options

In case there is a need to pass specific adapter options you can do it in one of three ways:
In case there is a need to pass specific adapter options you can do it in one of four ways:

Supplying them as a keyword list in a tuple via config:

```elixir
config :tesla, adapter: {Tesla.Adapter.Hackney, [recv_timeout: 30_000]}
```

Using `adapter` macro:

Expand Down

0 comments on commit 5344feb

Please sign in to comment.