working commit
This commit is contained in:
+1
-2
@@ -19,8 +19,7 @@ void Router(std::string& req, std::string& res) {
|
||||
std::string rawResult;
|
||||
control::HelloResult helloRes;
|
||||
helloRes.Clear();
|
||||
helloRes.set_name("foobare");
|
||||
helloRes.set_id(12);
|
||||
helloRes.set_message("foobare");
|
||||
helloRes.SerializeToString(&rawResult);
|
||||
res.append(rawResult);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user