MantisBase v0.3.4
Loading...
Searching...
No Matches
mb::MantisResponse Member List

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

getBody() constmb::MantisResponse
getHeaderValue(const std::string &key, const char *def="", size_t id=0) constmb::MantisResponse
getHeaderValueCount(const std::string &key) constmb::MantisResponse
getHeaderValueU64(const std::string &key, size_t def=0, size_t id=0) constmb::MantisResponse
getLocation() constmb::MantisResponse
getReason() constmb::MantisResponse
getResponse() constmb::MantisResponse
getStatus() constmb::MantisResponse
getTrailerValue(const std::string &key, size_t id=0) constmb::MantisResponse
getTrailerValueCount(const std::string &key) constmb::MantisResponse
getVersion() constmb::MantisResponse
hasHeader(const std::string &key) constmb::MantisResponse
hasTrailer(const std::string &key) constmb::MantisResponse
MantisResponse(httplib::Response &_resp)mb::MantisResponseexplicit
registerDuktapeMethods()mb::MantisResponsestatic
send(int statusCode, const std::string &data="", const std::string &content_type="text/plain") constmb::MantisResponse
sendEmpty(int statusCode=204) constmb::MantisResponse
sendHtml(int statusCode=200, const std::string &data="") constmb::MantisResponse
sendJSON(int statusCode=200, const json &data=json::object()) constmb::MantisResponse
sendText(int statusCode=200, const std::string &data="") constmb::MantisResponse
setBody(const std::string &b)mb::MantisResponse
setContent(const char *s, size_t n, const std::string &content_type) constmb::MantisResponse
setContent(const std::string &s, const std::string &content_type) constmb::MantisResponse
setContent(std::string &&s, const std::string &content_type) constmb::MantisResponse
setFileContent(const std::string &path, const std::string &content_type) constmb::MantisResponse
setFileContent(const std::string &path) constmb::MantisResponse
setHeader(const std::string &key, const std::string &val) constmb::MantisResponse
setLocation(const std::string &b)mb::MantisResponse
setReason(const std::string &b)mb::MantisResponse
setRedirect(const std::string &url, int status=httplib::StatusCode::Found_302) constmb::MantisResponse
setStatus(int s)mb::MantisResponse
setVersion(const std::string &b)mb::MantisResponse
~MantisResponse()=defaultmb::MantisResponse