Reference
boost::redis::request
Represents a Redis request.
Member Functions
Name |
Description |
|
Constructor |
Returns the number of responses expected for this request. |
|
Returns the number of commands contained in this request. |
|
Clears the request preserving allocated memory. |
|
Calls |
|
Returns a reference to the config object. |
|
Appends a new command to the end of the request. |
|
Appends a new command to the end of the request. |
Description
A request is composed of one or more Redis commands and is referred to in the redis documentation as a pipeline. See for more info.
For example:
request r;
r.push("HELLO", 3);
r.push("FLUSHALL");
r.push("PING");
r.push("PING", "key");
r.push("QUIT");
Uses a std::string for internal storage.
Created with MrDocs