Created
April 9, 2018 17:57
-
-
Save yuriatgoogle/fe573b11297fedaf9888506056a214b8 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
client.sayHello({name: user}, function(err, response) { | |
if (err){ | |
console.log("could not get grpc response"); | |
res.send("could not get grpc response"); | |
return; | |
} | |
console.log('Greeting:', response.message); | |
res.send("grpc response is " + response.message); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment