Boost.Redis: include/boost/redis/operation.hpp Source File

Boost.Redis 1.84.0 A redis client library

Loading...
Searching...
No Matches
operation.hpp
1/* Copyright (c) 2018-2024 Marcelo Zimbres Silva (mzimbres@gmail.com)
2 *
3 * Distributed under the Boost Software License, Version 1.0. (See
4 * accompanying file LICENSE.txt)
5 */
6
7#ifndef BOOST_REDIS_OPERATION_HPP
8#define BOOST_REDIS_OPERATION_HPP
9
10namespace boost::redis {
11
18 enum class operation {
20 resolve,
22 connect,
24 ssl_handshake,
26 exec,
28 run,
30 receive,
32 reconnection,
34 health_check,
36 all,
37};
38
39} // boost::redis
40
41#endif // BOOST_REDIS_OPERATION_HPP
boost::redis::operation
operation
Connection operations that can be cancelled.
Definition: operation.hpp:18
boost::redis::operation::health_check
@ health_check
Health check operation.
boost::redis::operation::ssl_handshake
@ ssl_handshake
SSL handshake operation.
boost::redis::operation::exec
@ exec
Refers to connection::async_exec operations.
boost::redis::operation::resolve
@ resolve
Resolve operation.
boost::redis::operation::reconnection
@ reconnection
Cancels reconnection.
boost::redis::operation::all
@ all
Refers to all operations.
boost::redis::operation::run
@ run
Refers to connection::async_run operations.
boost::redis::operation::connect
@ connect
Connect operation.
boost::redis::operation::receive
@ receive
Refers to connection::async_receive operations.