X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fhttp%2Fparser%2FAbstract.cpp;fp=source%2Fhttp%2Fparser%2FAbstract.cpp;h=7b1420be63a771b40b33c5cbabd2cf2945931234;hp=04aab1e662d66caf105094109136d7f6f4c38545;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/http/parser/Abstract.cpp b/source/http/parser/Abstract.cpp index 04aab1e..7b1420b 100644 --- a/source/http/parser/Abstract.cpp +++ b/source/http/parser/Abstract.cpp @@ -42,7 +42,7 @@ anna_assign_enum(parser::Abstract::ClassType) = { } string http::parser::Abstract::asString() const -throw() { +{ string result("http::parser::Abstract { "); result += ClassType::asCString(a_classType); return result += " }"; @@ -51,7 +51,7 @@ throw() { /*static*/ void http::parser::Abstract::setState(http::Transport& transport, const http::parser::Abstract::ClassType::_v classType) -throw() { +{ /* * Se repite el Wait-Message para llenar el hueco de ClassType::None */ @@ -64,7 +64,7 @@ throw() { /*static*/ void http::parser::Abstract::appendExtraParameter(http::Message* message, const std::string& extraParameter) -throw() { +{ message->appendExtraParameter(extraParameter); } @@ -77,14 +77,14 @@ throw() { */ /*static*/ void http::parser::Abstract::setLastChunkedByte(http::Transport& transport, const int lastChunkedByte) -throw() { +{ transport.a_lastChunkedByte += lastChunkedByte; } // Sólo se puede usar en caso de Mensajes Transfer-encoding: chunked /*static*/ const DataBlock& http::parser::Abstract::getFullMessage(http::Transport& transport) -throw() { +{ return *transport.a_fullMessage; }