Alixir.Request (alixir_core v0.2.1) View Source

Link to this section Summary

Link to this section Types

Specs

body() :: String.t()

Specs

reason() :: String.t()

Specs

status_code() :: integer()

Link to this section Functions

Specs

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()}