Hello,
I’ve created an example HTTP API library:
https://github.com/LucidModules/elixir-http
and its Hackney implementation:
https://github.com/LucidModules/elixir-http-hackney
The main advantages of this approach are:
- less dependencies - one HTTP client for all libraries, specified in the main app (in the ideal case)
- easier testing - mock response for the elixir-http library. Forget about implementation.
I will be glad to receive feedback from you.






















