Sha256: 1c1c69e086921d48c85bec4b29470bc313e113489c87e143d855b5285772cb8b
Contents?: true
Size: 632 Bytes
Versions: 17
Compression:
Stored size: 632 Bytes
Contents
/* * routing-tabletest.js: Test for proxying `socket.io` and raw `WebSocket` requests using a ProxyTable. * * (C) 2010 Nodejitsu Inc. * MIT LICENCE * */ var vows = require('vows'), macros = require('../macros'), helpers = require('../helpers/index'); vows.describe(helpers.describe('routing-proxy', 'ws')).addBatch({ "With a valid target server": { "and no latency": { "using ws": macros.ws.assertProxied(), "using socket.io": macros.ws.assertProxied({ raw: true }), }, // "and latency": macros.websocket.assertProxied({ // latency: 2000 // }) } }).export(module);
Version data entries
17 entries across 17 versions & 2 rubygems