WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

sleeper/poussr-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poussr-js

Poussr-js is a small Javascript library, that allows for easy interaction with Poussr.

Setup

Each instantiated Poussr object allows for connection to a Poussr channel (after calling the 'connect' method).

Client can then choose to subscribe to some event through the 'subscribe' method.

var mypoussrobj = new Poussr(host, port, channel);
mypoussr.connect();
mypoussrobj.subscribe('event:tofollow', function(data) { /* the callback */ });

About

Javascript client for Poussr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published