Merge pull request #442 from jyang/add-echoing-requsted-symbol

Added echoing of requested stock symbol.
pull/446/head
Michael Lumish 10 years ago
commit 8fd62d70e6
  1. 2
      src/node/examples/stock_server.js

@ -38,7 +38,7 @@ var examples = grpc.load(__dirname + '/stock.proto').examples;
var StockServer = grpc.buildServer([examples.Stock.service]);
function getLastTradePrice(call, callback) {
callback(null, {price: 88});
callback(null, {symbol: call.request.symbol, price: 88});
}
function watchFutureTrades(call) {

Loading…
Cancel
Save