View Source LogsnagEx.ClientBehaviour behaviour (LogsnagEx v1.0.1)

Summary

Callbacks

request(method, endpoint, body, name)

@callback request(
  method :: :get | :post | :put | :patch | :delete,
  endpoint :: String.t(),
  body :: map(),
  name :: atom()
) :: {:ok, map()} | {:error, any()}