Files
socket.io/test/support/server.js
Guillermo Rauch e65b9b5329 add zuul
2013-12-26 21:25:23 -03:00

10 lines
203 B
JavaScript

// this is a test server to support tests which make requests
var io = require('socket.io');
var server = io(process.env.ZUUL_PORT);
server.on('connection', function(socket){
socket.emit('hi');
});