Http.Client.Behaviour behaviour (ExAzureStorage v0.1.0) View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback

delete(url, headers, options)

View Source

Specs

delete(url(), headers(), options()) ::
  {:ok, HTTPoison.Response.t() | HTTPoison.AsyncResponse.t()}
  | {:error, HTTPoison.Error.t()}
Link to this callback

get(url, headers, options)

View Source

Specs

get(url(), headers(), options()) ::
  {:ok, HTTPoison.Response.t() | HTTPoison.AsyncResponse.t()}
  | {:error, HTTPoison.Error.t()}
Link to this callback

post(url, body, headers, options)

View Source

Specs

post(url(), body(), headers(), options()) ::
  {:ok, map()} | {:error, binary() | map()}
Link to this callback

put(url, body, headers, options)

View Source

Specs

put(url(), body(), headers(), options()) ::
  {:ok, HTTPoison.Response.t() | HTTPoison.AsyncResponse.t()}
  | {:error, HTTPoison.Error.t()}