17 #ifndef MASTODON_CPP_RETURN_TYPES_HPP 18 #define MASTODON_CPP_RETURN_TYPES_HPP 63 operator bool()
const;
70 operator uint8_t()
const;
115 const uint16_t hec,
const string &a);
128 const uint16_t hec,
const string &a);
135 operator const string()
const;
142 friend std::ostream &
operator <<(std::ostream &out,
147 #endif // MASTODON_CPP_RETURN_TYPES_HPP Mastodon::return_call return_call
Return type for API calls.
Return type for API calls.
Definition: return_types.hpp:93
string answer
The response from the server.
Definition: return_types.hpp:100
struct Mastodon::return_base return_base
Basis for return types.
uint8_t error_code
Error code.
Definition: return_types.hpp:42
uint16_t http_error_code
HTTP error code.
Definition: return_types.hpp:56
Collection of things to interface with server software that implements the Mastodon API.
Definition: mastodon-cpp.hpp:47
string error_message
The error message, or "".
Definition: return_types.hpp:49
friend std::ostream & operator<<(std::ostream &out, const return_call &ret)
Same es return_call::answer.
Definition: return_types.cpp:43
Basis for return types.
Definition: return_types.hpp:35