Add response builder to simplify the response build; refine the service interfaces.

This commit is contained in:
Chunting Gu
2019-06-21 17:41:02 +08:00
parent 4140b4f94c
commit 8a7f53313b
14 changed files with 316 additions and 207 deletions
+1 -2
View File
@@ -13,8 +13,7 @@ using ResponsePtr = std::shared_ptr<Response>;
class Response : public Message {
public:
explicit Response(Status status = Status::kOK)
: status_(status) {
explicit Response(Status status = Status::kOK) : status_(status) {
}
~Response() override = default;