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

PrevUpHomeNext
http::message::need_eof

Returns true if the message semantics require an end of file.

Synopsis
bool
need_eof() const;
Description

For HTTP requests, this function returns the logical NOT of a call to keep_alive. For HTTP responses, this function returns the logical NOT of a call to keep_alive if any of the following are true:

Otherwise, the function returns true.

See Also

https://tools.ietf.org/html/rfc7230#section-3.3


PrevUpHomeNext