mirror of
https://github.com/boostorg/redis.git
synced 2026-02-20 15:02:23 +00:00
Changes:
- Fixes handling of transactions. - Fixes Reader-writer.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <aedis/aedis.hpp>
|
||||
#include <aedis/utils.hpp>
|
||||
|
||||
namespace net = aedis::net;
|
||||
|
||||
@@ -40,7 +41,7 @@ net::awaitable<void> example()
|
||||
for (;;) {
|
||||
resp::response_array<std::string> hello;
|
||||
co_await resp::async_read(socket, buffer, hello);
|
||||
print(hello.result);
|
||||
resp::print(hello.result);
|
||||
}
|
||||
} catch (std::exception const& e) {
|
||||
std::cerr << e.what() << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user