UNPKG

socket.io-rpc

Version:

Minimalistic remote procedure call(RPC/RMI) library bootstrapped on socket.io

15 lines (10 loc) 206 B
var express = require('express'); var http = require('http'); var app = express(); var n = 50; while (n--) { app.use(function(req, res, next){ next(); }); } http.createServer(app).listen(3000);