<script src="rapifire.min.js"></script>
<script>
var client = new Rapifire({
appId: '...',
authId: '...',
authKey: '...',
debug: true,
url: 'ws://ps.sentaca.com/pubsub',
onconnect: function() {
client.subscribe({
channel: 'test', // or channel: ['a', 'b', 'c']
interactive: true,
callback: function(message, headers) {
console.log("Received msg: %O headers: %O", message, headers);
}
});
}
});
</script>
-
Notifications
You must be signed in to change notification settings - Fork 0
sentaca/rapifire
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Rapifire.com websocket API client.
Resources
Stars
Watchers
Forks
Packages 0
No packages published