Socket
Book a DemoInstallSign in
Socket

engine.io-options-from-url

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

engine.io-options-from-url

engine.io-cleint's options / defaults are seriously broken for cross domain.

latest
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

node-engine.io-options-from-url

engine.io-client's options / defaults are seriously broken for cross domain. this takes a url and sets the options correctly.

var engine = require('engine.io-stream')
var fix = require('engine.io-options-from-url');

var stream = engine(fix('https://mywebsopckets.com/engine'));

// profit

in this example engine.io would have send the websocket to http://thedomainyouareon.comhttps//mywebsopckets.com/engine

w t f

FAQs

Package last updated on 18 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts