View Source Tesla.Adapter.Ibrowse (tesla v1.7.0)
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
Examples
# set globally in config/config.exs
config :tesla, :adapter, Tesla.Adapter.Ibrowse
# set per module
defmodule MyClient do
use Tesla
adapter Tesla.Adapter.Ibrowse
end