Sudoo-Magic

HTTP

The HTTP module of @sudoo/magic follows the W3 guideline.

See the official document: Status Code Definitions.

Usage

Just import the HTTP_RESPONSE_CODE enum from package.

import { HTTP_RESPONSE_CODE } from "@sudoo/magic";

HTTP_RESPONSE_CODE.OK; // 200;