Last active
August 14, 2019 23:11
-
-
Save mustakimali/3c03086f0d4ec9af95468a041bfcc1c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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