Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 9528891339.
PrevUpHomeNext
http::to_status_class (1 of 2 overloads)

Convert an integer to a status_class.

Synopsis

Defined in header <boost/beast/http/status.hpp>

status_class
to_status_class(
    unsigned v);
Description
Parameters

Name

Description

v

The integer representing a status code.

Return Value

The status class. If the integer does not match a known status class, status_class::unknown is returned.


PrevUpHomeNext