perl-Mojolicious-Plugin-Multiplex - A websocket multiplexing layer for Mojolicious applications

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Mojolicious-Plugin-Multiplex
Package version 0.05
Package release alt1
Package architecture noarch
Package type rpm
Installed size 43.82 KB
Download size 43.82 KB
Official Mirror
the Mojolicious::Plugin::Multiplex manpage implements a mechanism proposed by SockJS for the multiplexing of data on a single websocket.
Rather than proposing both a protocol and a programmatic api to use it, they propose a very simple protocol and reusing the api of the existing Javascript WebSocket api.
This has the immediate advantage (beyond having to dream up a client api) that existing front-end code that is written for a WebSocket can immediately use the multiplexer with no changes necessary.
Their proposal only includes a partially implemented reference implementation.
This module extends the protocol slightly in order to enough of the "WebSocket API" to be useful.
More extensions may be necessary if the API is to be completely implemented, however those last few details are rarely used and will likely not be missed.
On the server-side the logic is entirely up to the application author.
The module simply parses the multiplexed messages and emits events in accordance with them.
A typical use case may be to relay message to a bus, subscribing and unsubscribing from topics that it presents.
Another might be to stream updates to multiple types of data (perhaps in multiple parts of a single page application).
(Indeed those might not be distinct cases from each other).
For reference, the distribution comes with an example which uses the Mojo::Pg manpage as a message broker for a multi-channel chat application.
The example may also be seen on GitHub.


Package Version Architecture Repository
perl-Mojolicious-Plugin-Multiplex - - -


Name Value
/usr/share/perl5 -
perl(File/ -
perl(Mojo/ -
perl(Scalar/ -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -


Name Value
perl(Mojolicious/Plugin/ = 0.050
perl(Mojolicious/Plugin/Multiplex/ -
perl-Mojolicious-Plugin-Multiplex = 0.05-alt1


Type URL
Binary Package perl-Mojolicious-Plugin-Multiplex-0.05-alt1.noarch.rpm
Source Package perl-Mojolicious-Plugin-Multiplex-0.05-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Mojolicious-Plugin-Multiplex rpm package:
    # sudo apt-get install perl-Mojolicious-Plugin-Multiplex



See Also

Package Description
perl-Mojolicious-Plugin-MySQLViewerLite-0.16-alt1.noarch.rpm Mojolicious plugin to display MySQL database information on browser
perl-Mojolicious-Plugin-NYTProf-0.20-alt1.noarch.rpm Auto handling of Devel::NYTProf in your Mojolicious app
perl-Mojolicious-Plugin-NamedHelpers-0.03-alt1.noarch.rpm Mojolicious Plugin
perl-Mojolicious-Plugin-NamespaceForm-0.01-alt1.noarch.rpm Support params
perl-Mojolicious-Plugin-Narada-1.0.0-alt1.noarch.rpm Narada configuration plugin
perl-Mojolicious-Plugin-NetsPayment-0.04-alt1.noarch.rpm Make payments using Nets
perl-Mojolicious-Plugin-Nexmo-0.91-alt1.noarch.rpm Asynchronous (and synchronous) SMS and TTS (Text To Speech) sending
perl-Mojolicious-Plugin-NoIndex-0.02-alt1.noarch.rpm add meta tag to HTML output to define a policy for robots
perl-Mojolicious-Plugin-NoReferrer-0.02-alt1.noarch.rpm add meta tag to HTML output to define a referrer policy
perl-Mojolicious-Plugin-Notifications-1.01-alt1.noarch.rpm Event Notifications for your Users
perl-Mojolicious-Plugin-Nour-Config-0.09-alt1.noarch.rpm Robustly imports config from a ./config sub-directory loaded with nested YAML files
perl-Mojolicious-Plugin-Nour-Database-0.09-alt1.noarch.rpm Adds an easy to use database handle to your mojo app
perl-Mojolicious-Plugin-Number-Commify-0.041-alt1.noarch.rpm Plugin for readable numbers
perl-Mojolicious-Plugin-OAuth2-1.53-alt1.noarch.rpm Authenticate against OAuth2 providers
perl-Mojolicious-Plugin-OAuth2-Che-1.539-alt1.noarch.rpm forked from marcusramberg/Mojolicious-Plugin-OAuth2 version 1.53. No logic changes. Code text chang