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 teslaExamples
# 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
endNOTE ibrowse accepts only a fixed set of HTTP methods and does not
support QUERY (RFC 10008) - such requests return
{:error, :method_not_supported_by_adapter}.