Many fixes later
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
syntax = "proto3";
|
||||
package interop;
|
||||
|
||||
service InteropService {
|
||||
// Expected to succeed
|
||||
rpc UnaryCall (UnaryRequest) returns (UnaryResponse);
|
||||
|
||||
// Expected to fail (roto does not support streaming)
|
||||
rpc StreamingCall (StreamingRequest) returns (stream StreamingResponse);
|
||||
}
|
||||
|
||||
message UnaryRequest {
|
||||
string message = 1;
|
||||
}
|
||||
|
||||
message UnaryResponse {
|
||||
string reply = 1;
|
||||
}
|
||||
|
||||
message StreamingRequest {
|
||||
string query = 1;
|
||||
}
|
||||
|
||||
message StreamingResponse {
|
||||
string item = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user