mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add HTTPMessage::toString and family
This commit is contained in:
@@ -31,3 +31,12 @@ unsigned short HTTPResponse::status () const
|
||||
{
|
||||
return m_status;
|
||||
}
|
||||
|
||||
String HTTPResponse::toString () const
|
||||
{
|
||||
String s;
|
||||
s << "Status: " << String::fromNumber (status ()) << newLine;
|
||||
s << this->HTTPMessage::toString ();
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user