Skip to content

Instantly share code, notes, and snippets.

@mortezadalil
Created March 24, 2022 15:28
Show Gist options
  • Save mortezadalil/2faa6269f9e29bd2324c63f564dcf198 to your computer and use it in GitHub Desktop.
Save mortezadalil/2faa6269f9e29bd2324c63f564dcf198 to your computer and use it in GitHub Desktop.
syntax = "proto3";
option csharp_namespace = "Discount.Api.Grpc";
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