GitHunt
SW

swelham/ivar_httpoison

An HTTPoison adapter for the Ivar HTTP client

Build Status Deps Status Hex Version

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
  ]

Languages

Elixir100.0%

Contributors

MIT License
Created July 26, 2017
Updated November 4, 2018