Beast Logo

PrevUpHomeNext

http::is_keep_alive

Returns true if the HTTP/1 message indicates a keep alive.

template<
    bool isRequest,
    class Fields>
bool
is_keep_alive(
    header< isRequest, Fields > const& msg);

Undefined behavior if version is greater than 11.

Requirements

Header: beast/http/message.hpp

Convenience header: beast/http.hpp


PrevUpHomeNext