
PocketIO::Pool::Redis - Redis class

my $pocketio = PocketIO->new(pool => PocketIO::Pool::Redis->new);

Uses Redis' pub/sub infrastructure

newCreate new instance.
add_connectionAdd new connection.
remove_connectionRemove connection.
broadcastSend broadcast message.
sendSend message to all client.