Skip to content

Instantly share code, notes, and snippets.

@mrward
Created June 1, 2020 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrward/20eb66a4f48fddeb5a00383551e68605 to your computer and use it in GitHub Desktop.
Save mrward/20eb66a4f48fddeb5a00383551e68605 to your computer and use it in GitHub Desktop.
syntax = "proto3";
option csharp_namespace = "GrpcGreeter";
package greet;
// The greeting service definition.
service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply);
}
// The request message containing the user's name.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings.
message HelloReply {
string message = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment