This project is read-only.

Expresser Sockets

The Sockets module is a wrapper for Socket.IO, handled automatically by the App module. If you want to disable it, set settings.sockets.enabled to false. For more details about Socket.IO, go to

Sample code

The sample below shows how to emit a test message to all clients, and listen to a "form:submit" event.

var expresser = require("expresser");
expresser.sockets.emit("myevent", {message: "This is a test"});
expresser.sockets.on("form:submit", function(formData) {

For detailed info on specific features, check the annotated source on /docs folder.

Last edited Feb 13, 2014 at 6:17 PM by igoramadas, version 5


No comments yet.