Вячеслав Тихановский > PocketIO-0.14 > PocketIO::Pool::Redis

Download:
PocketIO-0.14.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: PocketIO-0.17

NAME ^

PocketIO::Pool::Redis - Redis class

SYNOPSIS ^

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

DESCRIPTION ^

Uses Redis' pub/sub infrastructure

METHODS ^

new

Create new instance.

add_connection

Add new connection.

remove_connection

Remove connection.

broadcast

Send broadcast message.

send

Send message to all client.

syntax highlighting: