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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
http::message::reason (1 of 2 overloads)

(Inherited from http::header)

Return the response reason-phrase.

Synopsis
string_view
reason() const;
Description

The reason-phrase is obsolete as of rfc7230.

Remarks

This function is only available when isRequest == false.


PrevUpHomeNext