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::basic_connection::will_reconnect

Returns true if the connection will try to reconnect if an error is encountered.

Synopsis

Declared in <boost/redis/connection.hpp>

bool
will_reconnect() const noexcept;

Return Value

true if the connection will try to reconnect if an error is encountered.

Created with MrDocs