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::connection::async_exec

Calls boost::redis::basic_connection::async_exec.

Synopsis

Declared in <boost/redis/connection.hpp>

template<
    class Response = ignore_t,
    class CompletionToken = asio::deferred_t>
auto
async_exec(
    request const& req,
    Response& resp = ignore,
    CompletionToken&& token = {});

Parameters

Name

Description

req

The request to be executed.

resp

The response object to parse data into.

token

Completion token.

Created with MrDocs