Blame view
node_modules/jayson/examples/batch_request/server.js
172 Bytes
f7563de62
|
1 2 3 4 5 6 7 8 9 |
var jayson = require(__dirname + '/../..'); var server = jayson.server({ add: function(a, b, callback) { callback(null, a + b); } }); server.http().listen(3000); |