Merge github.com:grpc/grpc into c++api

pull/501/head
Craig Tiller 10 years ago
commit c9df1cd391
  1. 4
      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) {
@ -85,4 +85,4 @@ if (require.main === module) {
stockServer.listen();
}
exports.module = stockServer;
module.exports = stockServer;

Loading…
Cancel
Save