]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/httpresponse.h
- Se agrega el objeto Command que encapsula un comando enviado al servidor.
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / httpresponse.h
index 936d2a35e0473d6e0b31c7f35f9a308d1a448ac8..f5c0afd81744a4053426b67a6780626cdab1241c 100644 (file)
@@ -65,27 +65,27 @@ namespace Server {
                        /**
                         * Constructor.
                         */
-                       HTTPResponse(const Serializable& body,
-                                       const std::string& version = "1.1");
+                       //HTTPResponse(const std::string& body,
+                       //              const std::string& version = "1.1");
 
                        /**
                         * Constructor.
                         */
-                       HTTPResponse(unsigned status_code, const std::string& reason,
-                                       const std::string& version = "1.1");
+                       //HTTPResponse(unsigned status_code, const std::string& reason,
+                       //              const std::string& version = "1.1");
 
                        /**
                         * Constructor.
                         */
-                       HTTPResponse(unsigned status_code, const std::string& reason,
-                                       const std::string& body,
-                                       const std::string& version = "1.1");
+                       //HTTPResponse(unsigned status_code, const std::string& reason,
+                       //              const std::string& body,
+                       //              const std::string& version = "1.1");
 
                        /**
                         * Obtiene los datos de la respuesta HTTP desde un texto.
                         */
                        friend std::istream& operator>>(std::istream& is,
-                                       const HTTPResponse& resp);
+                                       HTTPResponse& resp);
 
                        /**
                         * Convierte la respuesta HTTP en texto.