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 CompletionToken = asio::deferred_t>
auto
async_exec(
    request const& req,
    any_adapter adapter,
    CompletionToken&& token = {});

Parameters

Name

Description

req

The request to be executed.

adapter

An adapter object referencing a response to place data into.

token

Completion token.

Created with MrDocs