chenBright commented on issue #2671: URL: https://github.com/apache/brpc/issues/2671#issuecomment-2224299335
```c++ struct ProtobufMessage { google::protobuf::Message* request{NULL}; google::protobuf::Message* response{NULL}; }; class ProtobufMessageManager { public: virtual ProtobufMessage Get(const google::protobuf::Service& service, const google::protobuf::MethodDescriptor& method) = 0; virtual void Return(ProtobufMessage protobuf_message) = 0; }; ``` How about this interface? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org