Boost.Redis

    • Introduction
    • Requests and responses
    • Cancellation and timeouts
    • Serializing and parsing into custom types
    • Logging
    • Sentinel
    • Echo server benchmark
    • Comparison with other Redis clients
    • Examples
    • Reference
    • Acknowledgements
    • Changelog
  • boost::redis::request::config::cancel_if_unresponded
arrow_upward

boost::redis::request::config::cancel_if_unresponded

If false, basic_connection::async_exec will not automatically cancel this request if the connection is lost. Affects only requests that have been written to the server but have not been responded when the connection is lost.

Synopsis

Declared in <boost/redis/request.hpp>

bool cancel_if_unresponded = true;

Created with MrDocs