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_not_connected

If true, basic_connection::async_exec will complete with boost::redis::error::not_connected if the call happens before the connection with Redis was established.

Synopsis

Declared in <boost/redis/request.hpp>

bool cancel_if_not_connected = false;

Created with MrDocs