]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/httprequest.h
arregle un poquito la and
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / httprequest.h
index 5056d15cfe8ee68f59465d1f5165cb568ca6ca8f..5f0757ef66aeb064b53a0d2a9ad63ab43b6b554b 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>
 #include <istream>
 #include <ostream>
 #include <string>
 #include <istream>
 #include <ostream>
@@ -122,13 +123,13 @@ namespace Server {
                         * Obtiene los datos del pedido HTTP desde un texto.
                         */
                        friend std::istream& operator>>(std::istream& is, HTTPRequest& req)
                         * Obtiene los datos del pedido HTTP desde un texto.
                         */
                        friend std::istream& operator>>(std::istream& is, HTTPRequest& req)
-                               throw(HTTPError, std::ios::failure);
+                               throw(HTTPError, sockerr, std::ios::failure);
 
                        /**
                         * Convierte el pedido HTTP en texto.
                         */
                        friend std::ostream& operator<<(std::ostream& os,
 
                        /**
                         * Convierte el pedido HTTP en texto.
                         */
                        friend std::ostream& operator<<(std::ostream& os,
-                                       const HTTPRequest& req);
+                                       const HTTPRequest& req) throw(sockerr);
 
        };
 
 
        };