tchury/responser

Smart HTTP responses

dev-master 2021-04-02 18:15 UTC

This package is auto-updated.

Last update: 2024-05-29 05:26:30 UTC


README

HTTP utility to manage responses

How it works:

  • Create a new object of type Responser
  • Set if the request succeed or failed
  • Set a custom message
  • Attach objects to the response
  • Send the response