Module http_code_helper

Module http_code_helper 

Source
Expand description

§HTTP Status Code Representation

This module provides a standardized way to represent and work with HTTP status codes. It defines the HttpCode struct which encapsulates both standard HTTP status codes and custom internal codes used for application-specific error tracking.

The module supports conversion between different representations of HTTP codes and provides utilities for serializing them in a consistent format.

Structs§

HttpCode
Represents an HTTP status code with standard and internal identifiers.