message.proto 251 B

1234567891011121314151617
  1. syntax="proto3";
  2. package message;
  3. service MessageService {
  4. rpc HandleMessage (Request) returns (stream Response);
  5. }
  6. message Request {
  7. string id =1;
  8. string message = 2;
  9. }
  10. message Response {
  11. string id = 1;
  12. string message = 2;
  13. }