-
-
13 Jul 2016 16:57:37 UTC
- Distribution: SocketIO-Emitter
- Module version: 0.04
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (449 / 0 / 16)
- Kwalitee
Bus factor: 0- 21.24% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (3.37KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
toritori0318
- Dependencies
- Data::MessagePack
- Moo
- Redis
- namespace::clean
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
SocketIO::Emitter - A Perl implementation of socket.io-emitter.
SYNOPSIS
use strict; use warnings; use SocketIO::Emitter; my $em = SocketIO::Emitter->new( # key => 'another-key', # redis => Redis->new(server => 'localhost:6380'), ); # emit $em->emit('event', 'broadcast blah blah blah'); # namespace emit $em->of('/nsp')->emit('event', 'nsp broadcast blah blah blah'); # namespace room broadcast $em->of('/nsp')->room('roomId')->broadcast->emit('event', 'yahooooooo!!!!');
DESCRIPTION
A Perl implementation of socket.io-emitter.
This project uses redis. Make sure your environment has redis.
LICENSE
Copyright (C) Tsuyoshi Torii
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Tsuyoshi Torii <toritori0318@gmail.com>
Module Install Instructions
To install SocketIO::Emitter, copy and paste the appropriate command in to your terminal.
cpanm SocketIO::Emitter
perl -MCPAN -e shell install SocketIO::Emitter
For more information on module installation, please visit the detailed CPAN module installation guide.