Refine client session and its examples.

This commit is contained in:
Chunting Gu
2019-03-13 13:46:22 +08:00
parent 5abd7e275c
commit 05782b773a
7 changed files with 166 additions and 167 deletions
+4
View File
@@ -139,6 +139,10 @@ public:
return msg_.c_str();
}
Error error() const { return error_; }
bool timeout() const { return timeout_; }
private:
Error error_;