-
Notifications
You must be signed in to change notification settings - Fork 559
Replies
cpp_redis::reply
is the class that wraps Redis server replies.
That is, cpp_redis::reply
objects are passed as parameters of commands callbacks and contain the server's response.
Returns whether the reply is an array or not.
Returns whether the reply is a string (simple string or bulk string) or not.
Returns whether the reply is a simple string or not.
Returns whether the reply is a bulk string or not.
Returns whether the reply is an error or not.
Returns whether the reply is an integer or not.
Returns whether the reply is null or not.
Returns the reply as an array. Behavior is undefined if the reply is not an array.
Returns the reply as a string. Behavior is undefined if the reply is not a string.
Returns the reply as an integer. Behavior is undefined if the reply is not an integer.
Return the type of the reply. The possible values are the following:
enum class type {
array,
bulk_string,
error,
integer,
simple_string,
null
};
Need more information? Contact me.