amoeba.io-socket-client
v0.2.1
Published
Socket Client for amoeba.io
Downloads
8
Readme
#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
}
});