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::config::addr

For TCP connections, hostname and port of the Redis server.

Synopsis

Declared in <boost/redis/config.hpp>

address addr = address{"127.0.0.1", "6379"};

Created with MrDocs