mirror of
https://github.com/boostorg/redis.git
synced 2026-02-09 11:22:22 +00:00
Adds write functions.
This commit is contained in:
@@ -27,7 +27,7 @@ net::awaitable<void> example1()
|
||||
auto const r = resv.resolve("127.0.0.1", "6379");
|
||||
tcp_socket socket {ex};
|
||||
co_await async_connect(socket, r);
|
||||
co_await async_write(socket, net::buffer(req.payload));
|
||||
co_await async_write(socket, req);
|
||||
|
||||
std::string buffer;
|
||||
for (;;) {
|
||||
|
||||
Reference in New Issue
Block a user