Displaying 1 to 6 from 6 results

primus - :zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in

  •    Javascript

Primus, the creator god of transformers but now also known as universal wrapper for real-time frameworks. There are a lot of real-time frameworks available for Node.js and they all have different opinions on how real-time should be done. Primus provides a common low level interface to communicate in real-time using various real-time frameworks.If you deploy your application behind a reverse proxy (Nginx, HAProxy, etc.) you might need to add WebSocket specific settings to its configuration files. If you intend to use WebSockets, please ensure that these settings have been added. There are some example configuration files available in the observing/balancerbattle repository.

primus-emitter - Simple emitter wrapper for Primus

  •    Javascript

Node.JS module that adds emitter capabilities to Primus. Send an event from server to client or from client to server.

primus-resource - Define resources with auto-binded methods that can be called remotely using Primus

  •    Javascript

Define resources with auto-binded methods that can be called remotely on top of Primus. This plugin depends on primus-multiplex and primus-emitter however if you disable multiplexing then you can omit installing primus-multiplex. Method on an object prototype in the form of on + method, like onupdate will be automatically binded as an event on all incoming sparks, then the event can be called remotely by the client by just invoking the method name without the on like update.




primus-rooms - Node Plugin for adding rooms functionality to Primus

  •    Javascript

Node.JS module that adds room capabilities to a Primus server. All clients that joined rooms user:*, user:*:*, user:*:*:123 should receive the hello message.

primus

  •    Javascript

Primus.IO combines the core Primus with primus-rooms, primus-emitter and primus-multiplex plugins to provide an easy and still powerfull way of developing real time applications. For more details on options or additional methods please check each individual module README file and test cases.