Skip to main content

SleepyDiscord::ObjectResponse

More...

Inherits from SleepyDiscord::StandardResponse, SleepyDiscord::Response

inherited members​

Public Functions inherited from SleepyDiscord::Response

Name
boolerror() const
Response() =default
Response(int32_t _statusCode)

Public Attributes inherited from SleepyDiscord::Response

Name
std::stringtext
int32_tstatusCode
std::map< std::string, std::string, caseInsensitiveCompare >header
time_tbirth

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