stream.proto 280 B

12345678910111213141516
  1. syntax = "proto3";
  2. package test;
  3. message Req{
  4. string input = 1;
  5. }
  6. message Reply{
  7. string output = 1;
  8. }
  9. service TestService{
  10. rpc ServerStream (Req) returns (stream Reply);
  11. rpc ClientStream (stream Req) returns (Reply);
  12. rpc Stream (stream Req) returns (stream Reply);
  13. }