Skip to content
This repository was archived by the owner on Apr 6, 2019. It is now read-only.

Commit cd503b0

Browse files
committed
README typo
1 parent 5fab812 commit cd503b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Reply callback is an `std::function<void(reply&)>`.
6161

6262
The command is not effectively sent immediately, but stored inside an internal buffer until `commit()` is called.
6363

64-
### redis_client& commit(void)
64+
#### redis_client& commit(void)
6565
Send all the commands that have been stored by calling `send()` since the last `commit()` call to the redis server.
6666

6767
That is, pipelining is supported in a very simple and efficient way: `client.send(...).send(...).send(...).commit()` will send the 3 commands at once (instead of sending 3 network requests, one for each command, as it would have been done without pipelining).
@@ -147,7 +147,7 @@ Unsubscribe from the given pattern.
147147
148148
The command is not effectively sent immediately, but stored inside an internal buffer until `commit()` is called.
149149
150-
### redis_subscriber& commit(void)
150+
#### redis_subscriber& commit(void)
151151
Send all the commands that have been stored by calling `send()` since the last `commit()` call to the redis server.
152152
153153
That is, pipelining is supported in a very simple and efficient way: `sub.subscribe(...).psubscribe(...).unsubscribe(...).commit()` will send the 3 commands at once (instead of sending 3 network requests, one for each command, as it would have been done without pipelining).

0 commit comments

Comments
 (0)