Hustle.HTTPClient behaviour (hustle v0.1.0)

HTTP Client behaviour.

The HTTP method for the request must be set to POST.

Link to this section Summary

Link to this section Callbacks

Link to this callback

request(url, headers, body)

@callback request(url :: String.t(), headers :: keyword(), body :: binary()) ::
  :ok | {:error, reason :: any()}