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 an older version of Boost and was released in 2018. The current version is 1.89.0.
Returns true
if the message semantics require an end of file.
bool need_eof() const;
For HTTP requests, this function returns the logical NOT of a call to
http::message::keep_alive.
For HTTP responses, this function returns the logical NOT of a call to
http::message::keep_alive if any of the following
are true:
http::message::has_content_length would return
true
http::message::chunked would return true
http::header::result returns http::no_content
http::header::result returns http::not_modified
http::header::result returns any informational
status class (100 to 199)
Otherwise, the function returns true.