httpipe
httpipe copied to clipboard
HTTPipe is an adapter-driven HTTP library for Elixir that provides a way to build composable HTTP requests
🎉 hey! I talked about this before, and finally had some time to come up with a quick POC. This adds a new module called `HTTPipe.CurlHelpers` which converts a `%HTTPipe.Request{}`...
It would be nice if there was a function like this: ``` HTTPipe.Conn.new(%HTTPipe.Request{}) ``` Example of how I am doing it now: ``` req = %HTTPipe.Request{ method: :post, url: "/cloud/project/#{service_name}/user/#{user_id}/regeneratePassword"...
- In order to add custom elements in a library which uses `HTTPipe`, I think the field `private` would be desirable. - At the moment I'm just adding my custom...
Currently URLs are stored as strings which isn't helpful in many situations beyond sending the request. By storing the URL in its composite pieces, it makes it easier to work...
One of my biggest concerns with the library currently is that pooling connections is dependent on the individual adapter. I'm open to ideas about a more canonical way to implement...
Should it be possible to register functions that should be called before a connection is executed in order to modify the request in some fashion? The specification would look something...
Is cookie support an interesting feature for anyone? What would the function calls look like to you?
I'm envisioning a system similar to Plug's parsers where a user can specify what module to use to parse what types of content. HTTPipe would then decode incoming requests based...