Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Pusher API examples in Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
pusher-event
pusher-listener

README

Deprecated: Use https://metacpan.org/pod/WWW::Pusher instead.


Pusher for Perl

These are sample programs to show how to use Pusher (http://pusher.com/) from
Perl.

pusher-client sends events to a single Pusher channel.

pusher-listener implements a WebSocket client that subscribes to a channel and
then dumps events that arrive.

This is just a starting point. You'll need to add error checks and recovery at
least, and probably a whole lot more. I'd love it if someone would turn these
into proper modules sometime (particularly the listener). You'll need a decent
understanding of AnyEvent and the Pusher API reference handy. But its ok, you
can do it!

License: Public domain or CC0, as you like.
Something went wrong with that request. Please try again.