@@ -6,18 +6,18 @@ that implements the latest version of the Redis communication
6
6
protocol
7
7
[ RESP3] ( https://github.com/redis/redis-specifications/blob/master/protocol/RESP3.md ) .
8
8
It makes communication with a Redis server easy by hiding low-level
9
- Asio-related code away from the user, which, in the majority of the
10
- cases will be concerned with only three library entities
9
+ code away from the user, which, in the majority of the cases will be
10
+ concerned with only three library entities
11
11
12
- * ` aedis::connection ` : A connection to the Redis server that
13
- implements automatic
14
- [ pipelining ] ( https://redis.io/docs/manual/pipelining/ ) and which can
15
- handle requests and server pushes concurrently .
12
+ * ` aedis::connection ` : A connection to the Redis server with
13
+ high-level functions to execute Redis commands, receive server
14
+ pushes and support for automatic command
15
+ [ pipelines ] ( https://redis.io/docs/manual/pipelining/ ) .
16
16
* ` aedis::resp3::request ` : A container of Redis commands that supports
17
17
STL containers and user defined data types.
18
18
* ` aedis::adapt() ` : A function that adapts data structures to receive responses.
19
19
20
- In the next sections we will cover all those points in detail and with
20
+ In the next sections we will cover all those points in detail with
21
21
examples. The requirements for using Aedis are
22
22
23
23
* Boost 1.80 or greater.
@@ -53,7 +53,7 @@ auto co_main() -> net::awaitable<void>
53
53
// From examples/common.hpp to avoid vebosity
54
54
co_await connect(conn, "127.0.0.1", "6379");
55
55
56
- // A request can contains multiple commands.
56
+ // A request can contain multiple commands.
57
57
resp3::request req;
58
58
req.push("HELLO", 3);
59
59
req.push("HGETALL", "hset-key");
@@ -71,8 +71,8 @@ auto co_main() -> net::awaitable<void>
71
71
```
72
72
73
73
The example above uses the Asio awaitable ` operator || ` to compose
74
- ` connection::async_exec ` and ` connection::async_run ` in a single
75
- operation we can ` co_await ` on. It also provides cancelation one of
74
+ ` connection::async_exec ` and ` connection::async_run ` in an
75
+ operation we can ` co_await ` on. It also provides cancelation of one of
76
76
the operations when the other completes. The role played by these
77
77
functions are
78
78
0 commit comments