фича: автообновление сессии
This commit is contained in:
@@ -21,7 +21,7 @@ namespace http::server {
|
||||
/// A request received from a client.
|
||||
class Request {
|
||||
public:
|
||||
Request();
|
||||
Request(bool secure);
|
||||
|
||||
void reset();
|
||||
std::string getHeaderValue(const std::string& headerName) const;
|
||||
@@ -29,9 +29,10 @@ namespace http::server {
|
||||
std::string method;
|
||||
std::string queryUri;
|
||||
std::unique_ptr<Url> url;
|
||||
bool is_keep_alive{};
|
||||
int http_version_major{};
|
||||
int http_version_minor{};
|
||||
bool isKeepAlive{};
|
||||
const bool isSecure;
|
||||
int httpVersionMajor{};
|
||||
int httpVersionMinor{};
|
||||
std::vector<header> headers;
|
||||
std::vector<char> payload;
|
||||
|
||||
|
Reference in New Issue
Block a user