Group
Extension

Matches 2

Mojolicious-Plugin-Multiplex ( J/JB/JBERGER/Mojolicious-Plugin-Multiplex-1.0.tar.gz, JBERGER, 2018; MetaCPAN )
Mojolicious-Plugin-Multiplex/ex/vue_chat.pl ( view source; MetaCPAN )
       var self = this;
        socket.onmessage = function (e) {
          channel.messages.push(JSON.parse(e.data));
          if ( channel !== self.current ) { channel.unread++ }
        };
       
l;
        channel.unread = 0;
      },
      send: function() {
        this.current.socket.send(JSON.stringify({username: this.username, message: this.message}));
        this.message = '';
      },
Mojolicious-Plugin-Multiplex ( J/JB/JBERGER/Mojolicious-Plugin-Multiplex-1.0.tar.gz, JBERGER, 2018; MetaCPAN )
Mojolicious-Plugin-Multiplex/lib/Mojolicious/Plugin/Multiplex/Multiplexer.pm ( view source; MetaCPAN )
t.
An example is given in the distribution for using this class with L<Mojo::Pg::PubSub> to relay JSON messages between web-based chat clients.

As this module is low level it does no character encodi

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.