libkazv
|
#include <keys.hpp>
Public Member Functions | |
JobResponse (Response r) | |
bool | success () const |
immer::map< std::string, int > | oneTimeKeyCounts () const |
For each key algorithm, the number of unclaimed one-time keys of that type currently held on the server for this device. More... | |
Public Member Functions inherited from Kazv::Response | |
std::string | errorCode () const |
std::string | errorMessage () const |
JsonWrap | jsonBody () const |
constexpr bool | success () const |
json | dataJson (const std::string &key) const |
std::string | dataStr (const std::string &key) const |
std::string | jobId () const |
Additional Inherited Members | |
Public Types inherited from Kazv::Response | |
using | StatusCode = int |
Public Attributes inherited from Kazv::Response | |
StatusCode | statusCode |
Body | body |
Header | header |
JsonWrap | extraData |
Kazv::Api::UploadKeysJob::JobResponse::JobResponse | ( | Response | r | ) |
immer::map< std::string, int > Kazv::Api::UploadKeysResponse::oneTimeKeyCounts | ( | ) | const |
For each key algorithm, the number of unclaimed one-time keys of that type currently held on the server for this device.
If an algorithm is not listed, the count for that algorithm is to be assumed zero.
bool Kazv::Api::UploadKeysResponse::success | ( | ) | const |