X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/bcbe297964b0ad7393385f1dd240448c340ed5ed..ea73629e106c1ba77bcd09feac7e22035f28b7d7:/Server/include/plaqui/server/httpresponse.h?ds=inline diff --git a/Server/include/plaqui/server/httpresponse.h b/Server/include/plaqui/server/httpresponse.h index f4a2db0..5aa8f62 100644 --- a/Server/include/plaqui/server/httpresponse.h +++ b/Server/include/plaqui/server/httpresponse.h @@ -30,6 +30,7 @@ #include "plaqui/server/httperror.h" #include "plaqui/server/httpmessage.h" +#include #include 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, - 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, - const HTTPResponse& resp); + const HTTPResponse& resp) throw(sockerr); };