Skip to content

Instantly share code, notes, and snippets.

@mustakimali
Last active August 14, 2019 23:11
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 mustakimali/3c03086f0d4ec9af95468a041bfcc1c5 to your computer and use it in GitHub Desktop.
Save mustakimali/3c03086f0d4ec9af95468a041bfcc1c5 to your computer and use it in GitHub Desktop.
syntax = "proto3";
import "google/protobuf/empty.proto";
package GrpcDotNetDemoPackage;
service DemoService {
rpc SayHello(HelloRequest) returns (HelloResponse);
rpc SayHelloToNobody(google.protobuf.Empty) returns (HelloResponse);
}
message HelloRequest {
string Name = 1;
}
message HelloResponse {
string Hello = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment