parent
667dbf5365
commit
b6f86f38c2
@ -261,9 +261,9 @@ a single call to `read(2)`):
|
|||||||
redisReply *reply;
|
redisReply *reply;
|
||||||
redisAppendCommand(context,"SET foo bar");
|
redisAppendCommand(context,"SET foo bar");
|
||||||
redisAppendCommand(context,"GET foo");
|
redisAppendCommand(context,"GET foo");
|
||||||
redisGetReply(context,(void *)&reply); // reply for SET
|
redisGetReply(context,(void**)&reply); // reply for SET
|
||||||
freeReplyObject(reply);
|
freeReplyObject(reply);
|
||||||
redisGetReply(context,(void *)&reply); // reply for GET
|
redisGetReply(context,(void**)&reply); // reply for GET
|
||||||
freeReplyObject(reply);
|
freeReplyObject(reply);
|
||||||
```
|
```
|
||||||
This API can also be used to implement a blocking subscriber:
|
This API can also be used to implement a blocking subscriber:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user