]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/httpresponse.h
arregle un poquito la and
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / httpresponse.h
index f4a2db093da3406a94cfc9e8e2ff044974d0833e..5aa8f626b1e5154ae433d1b9f7093eacd4154777 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "plaqui/server/httperror.h"
 #include "plaqui/server/httpmessage.h"
 
 #include "plaqui/server/httperror.h"
 #include "plaqui/server/httpmessage.h"
+#include <socket++/sockstream.h>
 #include <string>
 
 namespace PlaQui {
 #include <string>
 
 namespace PlaQui {
@@ -97,13 +98,14 @@ namespace Server {
                         * Obtiene los datos de la respuesta HTTP desde un texto.
                         */
                        friend std::istream& operator>>(std::istream& is,
                         * Obtiene los datos de la respuesta HTTP desde un texto.
                         */
                        friend std::istream& operator>>(std::istream& is,
-                                       HTTPResponse& resp) throw(Error, std::ios::failure);
+                                       HTTPResponse& resp)
+                               throw(Error, sockerr, std::ios::failure);
 
                        /**
                         * Convierte la respuesta HTTP en texto.
                         */
                        friend std::ostream& operator<<(std::ostream& os,
 
                        /**
                         * Convierte la respuesta HTTP en texto.
                         */
                        friend std::ostream& operator<<(std::ostream& os,
-                                       const HTTPResponse& resp);
+                                       const HTTPResponse& resp) throw(sockerr);
 
        };
 
 
        };