Add response builder to simplify the response build; refine the service interfaces.
This commit is contained in:
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user