2
0
mirror of https://github.com/boostorg/redis.git synced 2026-02-10 11:42:28 +00:00

Progresses with the receiver.

This commit is contained in:
Marcelo Zimbres
2021-02-07 21:35:53 +01:00
parent dfe7191e65
commit 1bb8bb1196
14 changed files with 253 additions and 290 deletions

View File

@@ -5,17 +5,16 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include <boost/asio.hpp>
#include <aedis/aedis.hpp>
using namespace aedis;
/* This example shows how to receive and send events.
*
* 1. Store a shared_ptr to the connection in the receiver.
* 1. Create a connection obeject.
*
* 2. Start sending commands after the hello command has been
* received.
* 2. Start sending commands after the hello command has been
* received.
*
* As a rule, every redis command is received in a function named
* on_command. The user has to override the base class version to