Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
b6f86f38
Commit
b6f86f38
authored
May 23, 2021
by
michael-grunder
Browse files
Fix README.md
Closes #929
parent
667dbf53
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
b6f86f38
...
...
@@ -261,9 +261,9 @@ a single call to `read(2)`):
redisReply
*
reply
;
redisAppendCommand
(
context
,
"SET foo bar"
);
redisAppendCommand
(
context
,
"GET foo"
);
redisGetReply
(
context
,(
void
*
)
&
reply
);
// reply for SET
redisGetReply
(
context
,(
void
*
*
)
&
reply
);
// reply for SET
freeReplyObject
(
reply
);
redisGetReply
(
context
,(
void
*
)
&
reply
);
// reply for GET
redisGetReply
(
context
,(
void
*
*
)
&
reply
);
// reply for GET
freeReplyObject
(
reply
);
```
This API can also be used to implement a blocking subscriber:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment