0.6.0 • Published 8 years ago

dual-engine.io-client v0.6.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

dual-engine.io-client Build Status

Allow a dualapi domain in a browser to communicate with a dualapi domain behind an engine.io server. The server side transport and example use is at dual-engine.io.

Generally, the server is connected by providing engine.io-client to the domain. The server domain will be provided at the requested mount point (in this case server/..), and we will receive connect/server upon successful connection.

var dualapi = require('dualapi')
   .use(require('dual-engine.io-client'));

var d = dualapi()
    .mount({
        connect: {
            server: function () {
              // server is connected.  say hello
              d.send({ to: ['server', 'hello'], body: 'Hellooo!' });
            }
        }
    });

d.engineio(require('engine.io-client'), ['server']);

Use browserify to build the client side javascript.

0.6.0

8 years ago

0.5.2

8 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago