elixir client for toxiproxy
Add toxiproxy
to your list of dependencies in mix.exs
:
def deps do
[{:toxiproxy, "~> 0.6.0"}]
end
Add the hostname and adapter in the config file.
config :toxiproxy,
host: "http://127.0.0.1:8474",
adapter: Tesla.Adapter.Hackney
See tesla for the list of supported adapters.