The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
553 B

// TODO: Move these proto files to a dedicated directory.
syntax = "proto3";
package grpc_tools.simple;
import "grpc_tools/simpler.proto";
message SimpleMessage {
string msg = 1;
oneof personal_or_business {
bool personal = 2;
bool business = 3;
};
grpc_tools.simpler.SimplerMessage simpler_message = 4;
};
message SimpleMessageRequest {
SimpleMessage simple_msg = 1;
};
message SimpleMessageResponse {
bool understood = 1;
};
service SimpleMessageService {
rpc Tell(SimpleMessageRequest) returns (SimpleMessageResponse);
};