GitHunt
AN

antedeguemon/assent_httpoison

Assent adapter for making requests using HTTPoison

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
  ]}

Languages

Elixir100.0%

Contributors

Created November 17, 2023
Updated February 21, 2025