IndieWeb v0.0.12 IndieWeb.Http.Adapter behaviour

Link to this section Summary

Callbacks

Defines the method for making a general HTTP request

Link to this section Callbacks

Link to this callback

request(uri, method, opts)
request(uri :: binary(), method :: atom(), opts :: keyword()) ::
  {:ok, IndieWeb.Http.Response.t()} | {:error, IndieWeb.Http.Error.t()}

Defines the method for making a general HTTP request.