17 #ifndef MASTODON_CPP_RETURN_TYPES_HPP 18 #define MASTODON_CPP_RETURN_TYPES_HPP 62 operator bool()
const;
69 operator uint8_t()
const;
114 const uint16_t hec,
const string &a);
121 operator const string()
const;
128 friend std::ostream &
operator <<(std::ostream &out,
133 #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:92
string answer
The response from the server.
Definition: return_types.hpp:99
struct Mastodon::return_base return_base
Basis for return types.
uint8_t error_code
Error code.
Definition: return_types.hpp:41
uint16_t http_error_code
HTTP error code.
Definition: return_types.hpp:55
Collection of things to interface with server software that implements the Mastodon API...
Definition: mastodon-cpp.hpp:46
string error_message
The error message, or "".
Definition: return_types.hpp:48
std::ostream & operator<<(std::ostream &out, const return_call &ret)
Definition: return_types.cpp:43
Basis for return types.
Definition: return_types.hpp:34