You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
280 B
Protocol Buffer
17 lines
280 B
Protocol Buffer
3 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package test;
|
||
|
|
||
|
message Req{
|
||
|
string input = 1;
|
||
|
}
|
||
|
|
||
|
message Reply{
|
||
|
string output = 1;
|
||
|
}
|
||
|
service TestService{
|
||
|
rpc ServerStream (Req) returns (stream Reply);
|
||
|
rpc ClientStream (stream Req) returns (Reply);
|
||
|
rpc Stream (stream Req) returns (stream Reply);
|
||
|
}
|