Boost.Redis

    • Introduction
    • Requests and responses
    • Serializing and parsing into custom types
    • Logging
    • Echo server benchmark
    • Comparison with other Redis clients
    • Examples
    • Reference
    • Acknowledgements
    • Changelog
  • Reference
arrow_upward

Reference

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 socket but have not been responded when boost::redis::connection::async_run completes.

Synopsis

Declared in <boost/redis/request.hpp>

bool cancel_if_unresponded = true;

Created with MrDocs