1 #ifndef WSJCPP_LIGHT_WEB_HTTP_REQUEST_H 2 #define WSJCPP_LIGHT_WEB_HTTP_REQUEST_H 26 const std::string &sAddress
30 int getSockFd()
const;
31 std::string getUniqueId()
const;
32 void appendRecieveRequest(
const std::string &sRequestPart);
33 bool isEnoughAppendReceived()
const;
35 std::string getAddress()
const;
36 std::string getRequestType()
const;
37 std::string getRequestPath()
const;
38 std::string getRequestBody()
const;
39 std::string getRequestHttpVersion()
const;
40 const std::vector<WsjcppLightWebHttpRequestQueryValue> &getRequestQueryParams();
45 void parseFirstLine(
const std::string &sHeader);
70 #endif // WSJCPP_LIGHT_WEB_HTTP_REQUEST_H int m_nSockFd
Definition: wsjcpp_light_web_http_request.h:52
std::string m_sResponseCacheControl
Definition: wsjcpp_light_web_http_request.h:66
std::string m_sRequestType
Definition: wsjcpp_light_web_http_request.h:60
bool m_bClosed
Definition: wsjcpp_light_web_http_request.h:53
Definition: wsjcpp_light_web_http_request.h:22
std::vector< WsjcppLightWebHttpRequestQueryValue > m_vRequestQueryParams
Definition: wsjcpp_light_web_http_request.h:63
Definition: wsjcpp_light_web_http_request.h:48
std::string TAG
Definition: wsjcpp_light_web_http_request.h:43
std::string m_sRequestHttpVersion
Definition: wsjcpp_light_web_http_request.h:64
std::string m_sRequest
Definition: wsjcpp_light_web_http_request.h:58
Definition: wsjcpp_light_web_http_request.h:49
EnumParserState
Definition: wsjcpp_light_web_http_request.h:47
std::string m_sUniqueId
Definition: wsjcpp_light_web_http_request.h:57
std::string m_sAddress
Definition: wsjcpp_light_web_http_request.h:59
std::string m_sName
Definition: wsjcpp_light_web_http_request.h:16
std::string m_sRequestBody
Definition: wsjcpp_light_web_http_request.h:62
std::string m_sLastModified
Definition: wsjcpp_light_web_http_request.h:67
~WsjcppLightWebHttpRequest()
Definition: wsjcpp_light_web_http_request.h:28
std::string getValue() const
Definition: wsjcpp_light_web_http_request.cpp:21
std::string m_sValue
Definition: wsjcpp_light_web_http_request.h:17
std::string m_sRequestPath
Definition: wsjcpp_light_web_http_request.h:61
std::vector< std::string > m_vHeaders
Definition: wsjcpp_light_web_http_request.h:55
Definition: wsjcpp_light_web_http_request.h:10
std::string getName() const
Definition: wsjcpp_light_web_http_request.cpp:15
WsjcppLightWebHttpRequestQueryValue(const std::string &sName, const std::string &sValue)
Definition: wsjcpp_light_web_http_request.cpp:8
int m_nContentLength
Definition: wsjcpp_light_web_http_request.h:56
EnumParserState m_nParserState
Definition: wsjcpp_light_web_http_request.h:54