This commit is contained in:
parent
6a01efc6aa
commit
c9a826ebcb
|
@ -220,6 +220,9 @@ namespace Easy
|
|||
*/
|
||||
void set(const string &key, const Json::Value &value);
|
||||
|
||||
/*!
|
||||
* @brief Returns value of str as uint64_t.
|
||||
*/
|
||||
std::uint64_t stouint64(const string &str) const;
|
||||
|
||||
/*!
|
||||
|
|
|
@ -99,6 +99,17 @@ namespace Mastodon
|
|||
string answer;
|
||||
|
||||
return_call();
|
||||
|
||||
/*!
|
||||
* @brief Construct new return type for calls.
|
||||
*
|
||||
* @param ec Error code
|
||||
* @param em Error message
|
||||
* @param hec HTTP error code
|
||||
* @param a Answer
|
||||
*
|
||||
* @since 0.100.0
|
||||
*/
|
||||
return_call(const uint8_t ec, const string &em,
|
||||
const uint16_t hec, const string &a);
|
||||
|
||||
|
|
Reference in New Issue
Block a user