X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/f53d095dd5ffb5afacf5c6f9a23d6cf1985fc237..c90e905d76aed75379d220478e97fda0d34ec59b:/Server/include/plaqui/server/command.h?ds=inline diff --git a/Server/include/plaqui/server/command.h b/Server/include/plaqui/server/command.h index cd49d43..0074557 100644 --- a/Server/include/plaqui/server/command.h +++ b/Server/include/plaqui/server/command.h @@ -28,7 +28,9 @@ #ifndef PLAQUI_COMMAND_H #define PLAQUI_COMMAND_H +#include "httperror.h" #include "httprequest.h" +#include #include #include #include @@ -127,13 +129,13 @@ namespace Server { * Obtiene el comando desde un pedido HTTP completo. */ friend std::istream& operator>>(std::istream& is, - Command& command); + Command& command) throw(HTTPError, sockerr, ios::failure); /** * Convierte el comando a un pedido HTTP completo. */ friend std::ostream& operator<<(std::ostream& os, - const Command& command); + const Command& command) throw(sockerr); };