App::PerlWatcher::Watcher::HTTP - The base role for watching external events via HTTP
version 0.20
The subclass should provide the watched URL
The frequency of poll in seconds
The http transaction timeout. Default value: 5 seconds
The watcher title
The callback, which will be called with status object
The subclass should provide the process_http_response($body, $headers) method which is been called only on successfull responce (http code = 200)
Ivan Baidakou <dmol@gmx.com>
This software is copyright (c) 2013 by Ivan Baidakou.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::PerlWatcher::Engine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::PerlWatcher::Engine
CPAN shell
perl -MCPAN -e shell install App::PerlWatcher::Engine
For more information on module installation, please visit the detailed CPAN module installation guide.