alixir_core v0.1.3 Alixir.Request View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function perform(request) View Source
perform(%Alixir.Request{
  body: term(),
  headers: term(),
  http_method: term(),
  params: term(),
  url: term()
}) :: {:ok, status_code(), body()} | {:error, reason()}
perform(%Alixir.Request{
  body: term(),
  headers: term(),
  http_method: :get,
  params: term(),
  url: String.t()
}) :: {:ok, status_code(), body()} | {:error, reason()}