Engine.IO browser
This is the browser-only client for Engine.IO, the implementation of transport-based cross-browser/cross-device bi-directional communication layer for Socket.IO.
How to use
Standalone
You can find an engine.io.js
file in this repository, which is a
standalone build you can use as follows:
With browserify
Engine.IO is a commonjs module, which means you can include it by using
require
on the browser and package using browserify:
-
install the package
$ npm install engine.io-browser -
write your app code
const socket = "ws://localhost";socket; -
build your app bundle
$ browserify app.js > bundle.js -
include on your page
Sending and receiving binary