node-browserchannel icon indicating copy to clipboard operation
node-browserchannel copied to clipboard

An implementation of a google browserchannel server in node.js

Results 9 node-browserchannel issues
Sort by recently updated
recently updated
newest added

Bumps [connect](https://github.com/senchalabs/connect) from 1.9.2 to 3.7.0. Changelog Sourced from connect's changelog. 3.7.0 / 2019-05-17 deps: [email protected] Set stricter Content-Security-Policy header Fix 404 output for bad / missing pathnames deps: encodeurl@~1.0.2...

dependencies

may be the wrong file, but i hope you get the idea. i got annoyed by firefox getting spammed there. if this already existed, i'm sorry to push it. var...

Firefox is warning `Attempt to set a forbidden header was denied: Connection` which points to bcsocket-uncompressed.js in my bundled code. I believe it's coming from this line: https://github.com/josephg/node-browserchannel/blob/master/dist/bcsocket-uncompressed.js#L1792 I'm not...

Unfortunately I missed some cases in my last PR! I added new tests to ensure that cors headers are correctly sent in all cases and refactored the internal options interface...

As discussed, node-browserchannel may eventually be ported from coffeescript to javascript. If this happens, coffeescript would continue to be used for the test suite. The coffeescript should be compiled to...

needs further review

my main.js just import the library: `var BCSocket = require('browserchannel').BCSocket;` I compile file with gulpfile below ``` var gulp = require('gulp'), browserify = require('browserify'), del = require('del'), source = require('vinyl-source-stream'),...

Example ported to connect 3, issue may be within connect library? chat.html: ``` socket = new BCSocket('/channel'); socket.onopen = function() { socket.send({hi:'there'}); socket.close(); }; ``` chat.js: ``` var connect =...

So the current implementation gives the client an etag which is already nice but the browser will still send out a request. Using the connect.static maxAge parameter sets the caching...

needs further review