Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 919 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 919 Bytes

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
  ]