Skip to content

Instantly share code, notes, and snippets.

@tarukosu
Created April 4, 2019 00:14
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 tarukosu/137ff5cebc8d90a128d2d8435fd3aa9f to your computer and use it in GitHub Desktop.
Save tarukosu/137ff5cebc8d90a128d2d8435fd3aa9f to your computer and use it in GitHub Desktop.
class GreeterImpl : Greeter.GreeterBase
{
public override Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context)
{
return Task.FromResult(new HelloReply { Message = "Hello " + request.Name });
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment