No new // transformers will be called, and the event won't be emitted. });These transformations can easily be done in the plugins:primus.plugin('name', { server: function (primus) { primus.transform('outgoing', function (packet) { packet.data = 'foo'; }); primus.transform('incoming...
Primus needs to own the whole path/namespace in order to function properly as it will forward all other requests directly in to the transformers so they can work their magic. If you already have a static folder with the name primus you can change the pathname to something different and ...
No new // transformers will be called, and the event won't be emitted. });These transformations can easily be done in the plugins:primus.plugin('name', { server: function (primus) { primus.transform('outgoing', function (packet) { packet.data = 'foo'; }); primus.transform('incoming...