src/transaction.cc
/**
 * @name    getResponseBodyLenth
 * @brief   Retrieve the length of the updated response body.
 *
 * This method returns the size of the update response body buffer, notice
 * however, that most likely there isn't an update. Thus, this method will
 * return 0.
 *
 *
 * @return Size of the update response body.
 * @retval ==0 there is no update.
 * @retval >0  the size of the updated buffer.
 *
 */
@name    getResponseBodyLenth
@brief   Retrieve the length of the updated response body.

This method returns the size of the update response body buffer, notice
however, that most likely there isn't an update. Thus, this method will
return 0.

@return Size of the update response body.
@retval ==0 there is no update.
@retval >0  the size of the updated buffer.
@name getResponseBodyLenth @brief Retrieve the length of the updated response body . This method returns the size of the update response body buffer notice however that most likely there isn ' t an update . Thus this method will return 0 . @return Size of the update response body . @retval == 0 there is no update . @retval > 0 the size of the updated buffer .
int Transaction::getResponseBodyLenth() {
    int size = 0;
#if 0
    int there_is_update = this->rules->loadResponseBodyFromJS(this);
    if (there_is_update == -1) {
        return -1;
    }
#endif
    this->m_responseBody.seekp(0, std::ios::end);
    size = this->m_responseBody.tellp();
    return size;
}
int Transaction :: getResponseBodyLenth ( ) { int size = 0 ; #if 0 int there_is_update = this -> rules -> loadResponseBodyFromJS ( this ) ; if ( there_is_update == -1 ) { return -1 ; } #endif this -> m_responseBody . seekp ( 0 , std :: ios :: end ) ; size = this -> m_responseBody . tellp ( ) ; return size ; }
@name    getResponseBodyLenth
 @brief   Retrieve the length of the updated response body.
@name getResponseBodyLenth @brief Retrieve the length of the updated response body .