Logo Pico-Framework A web-first embedded framework for C++
Loading...
Searching...
No Matches
HttpResponse Member List

This is the complete list of members for HttpResponse, including all inherited members.

bodyHttpResponseprivate
bodyTruncatedHttpResponseprivate
clearCookie(const std::string &name, const std::string &options)HttpResponse
cookiesHttpResponseprivate
endServerError(const std::string &msg)HttpResponse
finish()HttpResponse
getBody() constHttpResponseinline
getContentType() constHttpResponse
getHeader(const std::string &key) constHttpResponseinline
getHeaders() constHttpResponseinline
getSocket() constHttpResponse
getStatusCode() constHttpResponseinline
getStatusMessage(int code)HttpResponseprivate
getTcp() constHttpResponseinline
headersHttpResponseprivate
headerSentHttpResponseprivate
HttpResponse()=defaultHttpResponse
HttpResponse(Tcp *tcp)HttpResponse
isBodyTruncated() constHttpResponseinline
isHeaderSent() constHttpResponse
json(const std::string &jsonString)HttpResponse
json(const nlohmann::json &jsonObj)HttpResponse
jsonFormatted(const nlohmann::json &jsonObj)HttpResponse
markBodyTruncated()HttpResponseinline
ok() constHttpResponseinline
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()HttpResponseinline
send(std::nullptr_t)=deleteHttpResponse
send(const FrameworkView &view)HttpResponseinline
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_codeHttpResponseprivate
tcpHttpResponseprivate
text(const std::string &textString)HttpResponse
toFile(const std::string &path, StorageManager *storage)HttpResponse
writeChunk(const char *data, size_t length)HttpResponse