Merge branch '2.3' into 2.4

This commit is contained in:
Markus Mäkelä
2019-12-17 14:04:47 +02:00
4 changed files with 32 additions and 5 deletions

View File

@ -357,6 +357,16 @@ public:
*/
void set_close_reason(const std::string& reason);
/**
* Get latest close reason
*
* @return A human-readable reason why the connection was closed
*/
const std::string& close_reason() const
{
return m_close_reason;
}
private:
/**
* Internal state of the backend