removed envelope::message() method because it is expensive
This commit is contained in:
parent
00b81949d3
commit
e59d0ff387
|
|
@ -91,15 +91,6 @@ public:
|
||||||
{
|
{
|
||||||
return _bodySize;
|
return _bodySize;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Body as a string
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
std::string message() const
|
|
||||||
{
|
|
||||||
return std::string(_body, static_cast<size_t>(_bodySize));
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue