#include <wsjcpp_light_web_http_response.h>
◆ WsjcppLightWebHttpResponse()
| WsjcppLightWebHttpResponse::WsjcppLightWebHttpResponse |
( |
int |
nSockFd | ) |
|
◆ badRequest()
◆ cacheSec()
◆ detectTypeOfFile()
| std::string WsjcppLightWebHttpResponse::detectTypeOfFile |
( |
const std::string & |
sFilePath | ) |
|
|
private |
◆ forbidden()
◆ internalServerError()
◆ noCache()
◆ notFound()
◆ notImplemented()
◆ ok()
◆ payloadTooLarge()
◆ prepareHeaders()
| std::string WsjcppLightWebHttpResponse::prepareHeaders |
( |
int |
nLength | ) |
|
|
private |
◆ requestTimeout()
◆ sendBuffer()
| void WsjcppLightWebHttpResponse::sendBuffer |
( |
const std::string & |
sFilePath, |
|
|
const char * |
pBuffer, |
|
|
const int |
nBufferSize |
|
) |
| |
◆ sendEmpty()
| void WsjcppLightWebHttpResponse::sendEmpty |
( |
| ) |
|
◆ sendFile()
| void WsjcppLightWebHttpResponse::sendFile |
( |
const std::string & |
sFilePath | ) |
|
◆ sendJson()
| void WsjcppLightWebHttpResponse::sendJson |
( |
const nlohmann::json & |
json | ) |
|
◆ sendOptions()
| void WsjcppLightWebHttpResponse::sendOptions |
( |
const std::string & |
sOptions | ) |
|
◆ sendText()
| void WsjcppLightWebHttpResponse::sendText |
( |
const std::string & |
sBody | ) |
|
◆ g_mapReponseDescription
| std::map< int, std::string > * WsjcppLightWebHttpResponse::g_mapReponseDescription = nullptr |
|
static |
◆ m_bClosed
| bool WsjcppLightWebHttpResponse::m_bClosed |
|
private |
◆ m_nResponseCode
| int WsjcppLightWebHttpResponse::m_nResponseCode |
|
private |
◆ m_nSockFd
| int WsjcppLightWebHttpResponse::m_nSockFd |
|
private |
◆ m_sCacheControl
| std::string WsjcppLightWebHttpResponse::m_sCacheControl |
|
private |
◆ m_sDataType
| std::string WsjcppLightWebHttpResponse::m_sDataType |
|
private |
◆ m_sLastModified
| std::string WsjcppLightWebHttpResponse::m_sLastModified |
|
private |
◆ TAG
| std::string WsjcppLightWebHttpResponse::TAG |
|
private |
The documentation for this class was generated from the following files: