SDK
SDK C++ v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

This SDK has been deprecated because of stability issues. It is not advised to use it in a production environment.

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" })");