-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document missing getters about offline queue and reconnection options (…
…#255) ## What does this PR do? Document missing getters in the C++ Kuzzle class about offline queue and reconnection options. Depends on kuzzleio/sdk-cpp#71
- Loading branch information
Showing
21 changed files
with
5,705 additions
and
4,703 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test/templates/*.tpl.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ ENV PATH $PATH:/nodejs/bin | |
|
||
|
||
RUN npm i -g eslint eslint-plugin-import@latest eslint-plugin-node@latest eslint-plugin-promise@latest eslint-plugin-standard@latest | ||
RUN npm i -g puppeteer mqtt --unsafe-perm=true | ||
RUN npm i -g puppeteer mqtt [email protected] [email protected] [email protected] --unsafe-perm=true | ||
|
||
WORKDIR /app | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 18 additions & 2 deletions
20
src/sdk-reference/cpp/1/kuzzle/getters/snippets/getters.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
kuzzleio::Kuzzle *kuzzle = new kuzzleio::Kuzzle( | ||
new kuzzleio::WebSocket("kuzzle")); | ||
|
||
std::string jwt_token = kuzzle->jwt(); | ||
|
||
kuzzleio::Protocol *protocol = kuzzle->getProtocol(); | ||
|
||
std::string jwt_token = kuzzle->getJwt(); | ||
int max_size = kuzzle->queueMaxSize(); | ||
|
||
int queue_ttl = kuzzle->queueTTL(); | ||
|
||
int replay_interval = kuzzle->replayInterval(); | ||
|
||
int reconnection_delay = kuzzle->reconnectionDelay(); | ||
|
||
std::string volatile_data = kuzzle->volatiles(); | ||
|
||
bool auto_queue = kuzzle->autoQueue(); | ||
|
||
bool auto_reconnect = kuzzle->autoReconnect(); | ||
|
||
bool auto_replay = kuzzle->autoReplay(); | ||
|
||
std::string volatile_data = kuzzle->getVolatile(); | ||
bool auto_resubscribe = kuzzle->autoResubscribe(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
kuzzleio::Kuzzle *kuzzle = new kuzzleio::Kuzzle( | ||
new kuzzleio::WebSocket("kuzzle")); | ||
|
||
kuzzle->setAutoReplay(true); | ||
kuzzle->autoReplay(true); | ||
|
||
kuzzle->setVolatile(R"({ username: "Aschen" })"); | ||
kuzzle->volatiles(R"({ username: "Aschen" })"); |
Oops, something went wrong.