Reference

boost::redis::request::config

Request configuration options.

Synopsis

Declared in <boost/redis/request.hpp>

struct config;

Data Members

Name

Description

cancel_on_connection_lost

If true, calls to basic_connection::async_exec will complete with error if the connection is lost while the request hasn't been sent yet.

cancel_if_not_connected

If true, basic_connection::async_exec will complete with boost::redis::error::not_connected if the call happens before the connection with Redis was established.

cancel_if_unresponded

If false, basic_connection::async_exec will not automatically cancel this request if the connection is lost. Affects only requests that have been written to the socket but have not been responded when boost::redis::connection::async_run completes.

hello_with_priority

If this request has a HELLO command and this flag is true, it will be moved to the front of the queue of awaiting requests. This makes it possible to send HELLO commands and authenticate before other commands are sent.

Created with MrDocs