View Source Tesla.Adapter.Ibrowse (tesla v1.13.2)
Adapter for ibrowse.
Remember to add {:ibrowse, "~> 4.2"}
to dependencies (and :ibrowse
to applications in mix.exs
)
Also, you need to recompile tesla after adding :ibrowse
dependency:
mix deps.clean tesla
mix deps.compile tesla
Examples
# set globally in config/config.exs
config :tesla, :adapter, Tesla.Adapter.Ibrowse
# set per module
defmodule MyClient do
def client do
Tesla.client([], Tesla.Adapter.Ibrowse)
end
end