Featureflow v0.1.0 Featureflow.Http View Source

Http requests wrapper for easy maintinence and testing. Uses hackney under the hood for live and GenServer storing requests in state for testing.

Link to this section Summary

Link to this section Functions

Link to this function

request(method, url, headers, body)

View Source
request(atom(), String.t(), headers, term()) ::
  {:ok, headers, map()}
  | {:error, pos_integer(), String.t()}
  | {:error, any()}
when headers: [{String.t(), String.t()}]