aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-02-09 13:31:45 -0800
committerGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-02-09 13:31:45 -0800
commit09e4ea1a7e33b42d892b76bf3a24e73c3d3901e4 (patch)
treef1930713238a5891c51153f75a399186c24a1f80
parentbc8169ef8e78618c5d51e6b98b8c80fb9e8ed777 (diff)
parent67354c81b6c6613f7efa889f88b7a8e83be58101 (diff)
Merge pull request #440 from jyang/complete-sample-in-client-jsdoc
Completed minimal sample in JsDoc of stock client
-rw-r--r--src/node/examples/stock_client.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node/examples/stock_client.js b/src/node/examples/stock_client.js
index 8e99090f35..b37e66df07 100644
--- a/src/node/examples/stock_client.js
+++ b/src/node/examples/stock_client.js
@@ -39,5 +39,8 @@ var examples = grpc.load(__dirname + '/stock.proto').examples;
*
* var StockClient = require('stock_client.js');
* var stockClient = new StockClient(server_address);
+ * stockClient.getLastTradePrice({symbol: 'GOOG'}, function(error, response) {
+ * console.log(error || response);
+ * });
*/
module.exports = examples.Stock;