Skip to content

reds/RedisPubSub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME
    IO::Socket::RedisPubSub - A simple redis publish/subscribe client.

SYNOPSIS
    # Somewhere use IO::Socket::RedisPubSub qw(subscribe pull);

      my $rs = IO::Socket::RedisPubSub->new;

      $rs->subscribe ( 'newsfeed' );

      while ( my ( $channel, $message ) = $rs->pull ) {
        print "Got $message on $channel";
      }

    # Elsewhere use IO::Socket::RedisPubSub qw(publish);

      IO::Socket::RedisPubSub->new->publish ( 'newsfeed', 'hi there' );

DESCRIPTION
    A very simple redis client. Just uses the publish/subscribe features.

AUTHOR
        Martin Redmond
        CPAN ID: REDS
        Tinychat.com
        [email protected]
        https://tinychat.com/about.html

COPYRIGHT
    This program is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

    The full text of the license can be found in the LICENSE file included
    with this module.

SEE ALSO
    perl(1).

About

Simple Redis publish/subscribe client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages