Kuzzle class setters #
autoReplay #
Set the value for the auto-replay flag which allow to play queued request after a successfull auto-reconnection.
Signature #
Kuzzle* autoReplay(bool);
volatiles #
Set the value of the global volatile data.
Value must be a JSON string representing a JSON object. (eg: {"username": "Aschen"}
)
Signature #
Kuzzle* volatiles(const std::string&);
Usage #
kuzzleio::Kuzzle *kuzzle = new kuzzleio::Kuzzle(
new kuzzleio::WebSocket("kuzzle"));
kuzzle->autoReplay(true);
kuzzle->volatiles(R"({ username: "Aschen" })");
Edit this page on Github(opens new window)