Beast Logo

PrevUpHomeNext

http::parser_v1::needs_eof

Inherited from http::basic_parser_v1. Returns true if the message end is indicated by eof.

bool
needs_eof() const;

This function returns true if the semantics of the message require that the end of the message is signaled by an end of file. For example, if the message is a HTTP/1.0 message and the Content-Length is unspecified, the end of the message is indicated by an end of file.

Return Value

true if write_eof must be used to indicate the message end.


PrevUpHomeNext