Awesome
Ivar HTTPoison
An HTTPoison adapter for the Ivar HTTP client
Usage
Add ivar_httpoison
to your list of dependencies in mix.exs
def deps do
[
{:ivar_httpoison, "~> 0.2.0"}
]
end
And then configure Ivar to use the adapter
config :ivar,
adapter: Ivar.HTTPoison
HTTPoison Config
You can configure any of the HTTPoison options via the http
config key and these will be passed onto HTTPoison
config :ivar,
adapter: Ivar.HTTPoison,
http: [
timeout : 5_000
]