amoeba.io-socket-client

0.2.1 • Public • Published

#Socket client for amoeba.io See also https://github.com/amoebaio/amoeba.io-socket-server

##Installation

npm install amoeba.io-socket-client

##Usage

var Amoeba = require("amoeba.io");
var SocketClient = require("amoeba-socket-client");

var amoeba = new Amoeba();

amoeba.path("chat").as(new SocketClient({
            url: "http://localhost:8090"
        }), function(err, result) {
            if(!err){
                //connected
            }
        });

Readme

Keywords

Package Sidebar

Install

npm i amoeba.io-socket-client

Weekly Downloads

6

Version

0.2.1

License

MIT

Last publish

Collaborators

  • maxazan