Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions include/dpp/http_server_request.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,6 @@ using http_server_request_event = std::function<void(class http_server_request*)
* @note plaintext HTTP without SSL is also supported via a "downgrade" setting
*/
class DPP_EXPORT http_server_request : public ssl_connection {

/**
* @brief The type of the request, e.g. GET, POST
*/
std::string request_type;

/**
* @brief Path part of URL for HTTPS connection
*/
std::string path;

/**
* @brief The request body, e.g. form data
*/
Expand Down Expand Up @@ -87,6 +76,16 @@ class DPP_EXPORT http_server_request : public ssl_connection {

protected:

/**
* @brief The type of the request, e.g. GET, POST
*/
std::string request_type;

/**
* @brief Path part of URL for HTTPS connection
*/
std::string path;

/**
* @brief Current connection state
*/
Expand Down