class status_code#

class status_code#

Provides an utility for HTTP status code.

Public Functions

inline status_code(status value)#

Construct a status_code with specific http::status.

inline status_code(int value)#

Construct a status_code with an integer.

inline auto value() const noexcept -> status#

Get status code.

inline auto category() const noexcept -> status_class#

Get status category.