MantisBase v0.4.9
Loading...
Searching...
No Matches
mb::MbResponse Member List

This is the complete list of members for mb::MbResponse, including all inherited members.

body() constmb::MbResponse
clearAuthTokenCookie() constmb::MbResponse
drogonResponse() constmb::MbResponse
getStatus() constmb::MbResponse
hasHeader(const std::string &key) constmb::MbResponse
headerValue(const std::string &key, const std::string &def="") constmb::MbResponse
location() constmb::MbResponse
logger() constmb::MbAppMixin
mbApp() constmb::MbAppMixin
MbAppMixin(const MantisBase &app)mb::MbAppMixinexplicit
MbAppMixin(MbAppMixin &&)=defaultmb::MbAppMixin
MbAppMixin(const MbAppMixin &)=defaultmb::MbAppMixin
MbResponse(const MantisBase &app)mb::MbResponseexplicit
operator=(MbAppMixin &&)=deletemb::MbAppMixin
operator=(const MbAppMixin &)=deletemb::MbAppMixin
registerDuktapeMethods()mb::MbResponsestatic
send(int statusCode, const std::string &data="", const std::string &content_type="text/plain") constmb::MbResponse
sendEmpty(int statusCode=204) constmb::MbResponse
sendHtml(int statusCode=200, const std::string &data="") constmb::MbResponse
sendJSON(int statusCode=200, const json &data=json::object()) constmb::MbResponse
sendText(int statusCode=200, const std::string &data="") constmb::MbResponse
setAuthTokenCookie(const std::string &token, int max_age_seconds) constmb::MbResponse
setBody(const std::string &b)mb::MbResponse
setContent(const char *s, size_t n, const std::string &content_type) constmb::MbResponse
setContent(const std::string &s, const std::string &content_type) constmb::MbResponse
setContent(std::string &&s, const std::string &content_type) constmb::MbResponse
setFileContent(const std::string &path, const std::string &content_type) constmb::MbResponse
setFileContent(const std::string &path) constmb::MbResponse
setHeader(const std::string &key, const std::string &val) constmb::MbResponse
setLocation(const std::string &b) constmb::MbResponse
setRedirect(const std::string &url, int status=302) constmb::MbResponse
setStatus(int s) constmb::MbResponse
version() constmb::MbResponse
~MbResponse()=defaultmb::MbResponse