Skip to content

antedeguemon/assent_httpoison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assent_httpoison

Hex.pm: version Docs GitHub: CI status License: MIT, same as Assent

Assent adapter for making requests using HTTPoison.

Installation

Add assent_httpoison to your list of dependencies in mix.exs:

def deps do
  [
    {:assent_httpoison, "~> 0.1"}
  ]
end

Usage

To use the HTTPoison adapter with Assent, configure it in your application settings:

config :assent,
  http_client: {AssentHTTPoison.Adapter, []}

You can also pass custom options to HTTPoison:

config :assent,
  http_client: {AssentHTTPoison.Adapter, [
    timeout: 60_000,
    max_redirect: 10
  ]}

About

Assent adapter for making requests using HTTPoison

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages