tesla v0.10.0 Tesla.Adapter.Hackney View Source

Adapter for hackney

Remember to add {:hackney, "~> 1.6"} to dependencies (and :hackney to applications in mix.exs) Also, you need to recompile tesla after adding :hackney dependency:

mix deps.clean tesla
mix deps.compile tesla

Example usage

# set globally in config/config.exs
config :tesla, :adapter, :hackney

# set per module
defmodule MyClient do
  use Tesla

  adapter :hackney
end

Link to this section Summary

Link to this section Functions