Permalink
Browse files

example usage note

  • Loading branch information...
revmischa committed Nov 1, 2011
1 parent 4ff16ef commit 85e8bb4609fb01dc9d28fc73336477822e22a1e3
Showing with 3 additions and 0 deletions.
  1. +1 −0 eg/event_server.psgi
  2. +2 −0 lib/Web/Hippie/PubSub.pm
View
@@ -69,6 +69,7 @@ builder {
if ($path eq '/new_listener') {
warn "Got new listener on channel $channel\n";
} elsif ($path eq '/message') {
my $msg = $env->{'hippie.message'};
warn "Posting message to channel $channel\n";
} elsif ($path eq '/error') {
warn "Got hippie error\n";
View
@@ -151,6 +151,8 @@ Web::Hippie::PubSub - Comet/Long-poll event server using AnyMQ
This module adds publish/subscribe capabilities to L<Web::Hippie> using
AnyMQ.
See eg/event_server.psgi for example usage.
=head1 SEE ALSO
L<Web::Hippie::Pipe>, L<Web::Hippie::Pipe>, L<AnyMQ>,

0 comments on commit 85e8bb4

Please sign in to comment.