SleepyDiscord::ObjectResponse
Inherits from SleepyDiscord::StandardResponse, SleepyDiscord::Response
inherited members​
Public Functions inherited from SleepyDiscord::Response
Name | |
---|---|
bool | error() const |
Response() =default | |
Response(int32_t _statusCode) |
Public Attributes inherited from SleepyDiscord::Response
Name | |
---|---|
std::string | text |
int32_t | statusCode |
std::map< std::string, std::string, caseInsensitiveCompare > | header |
time_t | birth |
Detailed Description​
template <class _Type >
struct SleepyDiscord::ObjectResponse;
Public Types Documentation​
using Type​
using SleepyDiscord::ObjectResponse< _Type >::Type = _Type;
Public Functions Documentation​
function operator Type​
inline operator Type()
function operator*​
inline Type & operator*() const
function cast​
inline Type cast()
function cast​
inline bool cast(
Type & value
)
function StandardResponse​
inline explicit StandardResponse(
const Response & response
)
Updated on 13 April 2022 at 18:39:59 UTC