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::get_commands

Returns the number of commands contained in this request.

Synopsis

Declared in <boost/redis/request.hpp>

[[nodiscard]]
std::size_t
get_commands() const noexcept;

Return Value

the number of commands contained in this request.

Created with MrDocs