Simon Wistow > Tanker-0.021 > Tanker::Plugin

Download:
Tanker-0.021.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Tanker::Plugin - a base class for all Tanker plugins

SYNOPSIS ^

use Tanker::Plugin;

my $plugin = new Tanker::Plugin ($pipeline);

$plugin->handle($request);

this class isn't designed to be used directly but subclassed and the handle method overridden

DESCRIPTION ^

If a plugin is placed in a Tanker pipeline then (almost) every request that comes down the pipeline will be passed to it via the handle method.

It's then free to munge it as it wants.

AUTHOR ^

Simon Wistow <simon@thegestalt.org>

SEE ALSO ^

Tanker, Tanker::Config, Tanker::RequestGenerator, Tanker::ResponseHandler, Tanker::Request;

syntax highlighting: