This is the complete list of members for HttpResponse, including all inherited members.
body | HttpResponse | private |
bodyTruncated | HttpResponse | private |
clearCookie(const std::string &name, const std::string &options) | HttpResponse | |
cookies | HttpResponse | private |
endServerError(const std::string &msg) | HttpResponse | |
finish() | HttpResponse | |
getBody() const | HttpResponse | inline |
getContentType() const | HttpResponse | |
getHeader(const std::string &key) const | HttpResponse | inline |
getHeaders() const | HttpResponse | inline |
getSocket() const | HttpResponse | |
getStatusCode() const | HttpResponse | inline |
getStatusMessage(int code) | HttpResponse | private |
getTcp() const | HttpResponse | inline |
headers | HttpResponse | private |
headerSent | HttpResponse | private |
HttpResponse()=default | HttpResponse | |
HttpResponse(Tcp *tcp) | HttpResponse | |
isBodyTruncated() const | HttpResponse | inline |
isHeaderSent() const | HttpResponse | |
json(const std::string &jsonString) | HttpResponse | |
json(const nlohmann::json &jsonObj) | HttpResponse | |
jsonFormatted(const nlohmann::json &jsonObj) | HttpResponse | |
markBodyTruncated() | HttpResponse | inline |
ok() const | HttpResponse | inline |
redirect(const std::string &url, int statusCode) | HttpResponse | |
renderTemplate(const std::string &tpl, const std::map< std::string, std::string > &context) | HttpResponse | |
reset() | HttpResponse | |
send(const std::string &body) | HttpResponse | |
send() | HttpResponse | inline |
send(std::nullptr_t)=delete | HttpResponse | |
send(const FrameworkView &view) | HttpResponse | inline |
send(const std::string &body, const std::string &contentType) | HttpResponse | |
send(const FrameworkView &view, const std::map< std::string, std::string > &context) | HttpResponse | |
sendCreated(const nlohmann::json &data={}, const std::string &message="") | HttpResponse | |
sendError(int statusCode, const std::string &code, const std::string &message) | HttpResponse | |
sendError(int statusCode, const std::string &message) | HttpResponse | |
sendFile(const std::string &path) | HttpResponse | |
sendHeaders() | HttpResponse | |
sendMessage(const std::string &message) | HttpResponse | |
sendNoContent() | HttpResponse | |
sendNotFound() | HttpResponse | |
sendSuccess(const nlohmann::json &data={}, const std::string &message="") | HttpResponse | |
sendUnauthorized() | HttpResponse | |
set(const std::string &field, const std::string &value) | HttpResponse | |
setAuthorization(const std::string &jwtToken) | HttpResponse | |
setBody(const std::string &body) | HttpResponse | |
setContentType(const std::string &content_type) | HttpResponse | |
setCookie(const std::string &name, const std::string &value, const std::string &options) | HttpResponse | |
setHeader(const std::string &key, const std::string &value) | HttpResponse | |
setStatus(int code) | HttpResponse | |
start(int code, size_t contentLength, const std::string &contentType="application/octet-stream", const std::string &contentEncoding="") | HttpResponse | |
status(int code) | HttpResponse | |
status_code | HttpResponse | private |
tcp | HttpResponse | private |
text(const std::string &textString) | HttpResponse | |
toFile(const std::string &path, StorageManager *storage) | HttpResponse | |
writeChunk(const char *data, size_t length) | HttpResponse |