You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 6, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+52Lines changed: 52 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -395,6 +395,58 @@ main(void) {
395
395
}
396
396
```
397
397
398
+
## Reply
399
+
`reply` is the class that wraps redis server replies. That is, `reply` objects are passed as parameters of commands callbacks and contain the server's response.
400
+
401
+
### Methods
402
+
403
+
#### bool is_array(void) const
404
+
Returns whether the reply is an array or not.
405
+
406
+
#### bool is_string(void) const
407
+
Returns whether the reply is a string (simple string or bulk string) or not.
408
+
409
+
#### bool is_simple_string(void) const
410
+
Returns whether the reply is a simple string or not.
411
+
412
+
#### bool is_bulk_string(void) const
413
+
Returns whether the reply is a bulk string or not.
0 commit comments