X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/f27c218d18ebf7198e07249aca1eed625da914fd..81fe1238505972c209c81f1c729ae910c275cfe9:/Server/include/plaqui/server/httprequest.h?ds=sidebyside diff --git a/Server/include/plaqui/server/httprequest.h b/Server/include/plaqui/server/httprequest.h index a5a3647..5056d15 100644 --- a/Server/include/plaqui/server/httprequest.h +++ b/Server/include/plaqui/server/httprequest.h @@ -110,8 +110,14 @@ namespace Server { HTTPRequest(const std::string& uri = "/", const HTTPMethod& method = GET, const std::string& query = "", + const std::string& body = "", const std::string& version = "1.1"); + /** + * Obtiene el método como un string. + */ + std::string method_str(void) const; + /** * Obtiene los datos del pedido HTTP desde un texto. */