]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/httprequest.h
- Se arregla un semi-bug en el transmitter.
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / httprequest.h
index a5a3647f29a5f15c8b6f6e4ace553c37620f0dc7..5056d15cfe8ee68f59465d1f5165cb568ca6ca8f 100644 (file)
@@ -110,8 +110,14 @@ namespace Server {
                        HTTPRequest(const std::string& uri = "/",
                                        const HTTPMethod& method = GET,
                                        const std::string& query = "",
                        HTTPRequest(const std::string& uri = "/",
                                        const HTTPMethod& method = GET,
                                        const std::string& query = "",
+                                       const std::string& body = "",
                                        const std::string& version = "1.1");
 
                                        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.
                         */
                        /**
                         * Obtiene los datos del pedido HTTP desde un texto.
                         */