View Source ArkeServer.ResponseManager (arke_server v0.3.14)

Module to standardize the responses. The response body can be formatted as follow:

  • %{items: [...], count: integer, messages: [...]}
  • %{content: %{items: [...], count: integer, messages: [...]}}
  • {content: ..., messages: [...]} If the status is 204 then the body will be empty